Page 1 of 1

Sessions in PHP 4.x

Posted: Fri May 28, 2004 6:52 am
by argoo
I have two websites running with sessions. The first one on http://www.kta-informaticabeheer.be/johan (sessions work here), the second one on jgz.kta-wollemarkt.be (sessions don't work here).

The second server uses PHP 4.0.6, is this the problem and should I switch to PHP 4.3.x? Or doesn't the version of PHP has anything to do with it when it's version 4.

I read about changes between the different versions, but they don't mention the functions we have used on the updates.

It's exactly the same site, so now I am wondering if something else could be the problem?

Posted: Fri May 28, 2004 8:13 am
by Phirus

Posted: Fri May 28, 2004 9:00 am
by markl999
The second server uses PHP 4.0.6, is this the problem and should I switch to PHP 4.3.x? Or doesn't the version of PHP has anything to do with it when it's version 4.
There were quite a few big changes as of 4.1.0
See http://php.net/variables.predefined to read about the changes, specifically superglobals and register_globals