Sessions in PHP 4.x

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
argoo
Forum Newbie
Posts: 1
Joined: Fri May 28, 2004 6:52 am
Location: Mechelen, Flanders, Belgium

Sessions in PHP 4.x

Post 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?
User avatar
Phirus
Forum Commoner
Posts: 37
Joined: Thu Apr 18, 2002 4:10 pm
Contact:

Post by Phirus »

User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post 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
Post Reply