sessions and windows

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
Zooter
Forum Commoner
Posts: 45
Joined: Tue May 18, 2004 10:46 am
Location: South Africa

sessions and windows

Post by Zooter »

Hi,

I've got PHP working on my one server, but when I copied it to another one (also WinXP and IIS 5), I started getting all kinds of session errors. I copied the php.ini file over to the new server as well.

Firstly it comlains about all the session and post variables not being initialised, and also it doesn't store the session array's values in the new server. But still when I browse to it from my old pc, it stores the values and works, but from the server or another client, it doesn't want to work.

One other thing I picked up, is that the _REQUEST["PHPSESSID"] and _COOKIE["PHPSESSID"] variables and its values were set on the new server, but on my old server phpinfo didn't show them at all...

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

Post by markl999 »

What version of PHP on each?
Are the phpinfo() 's on each identical? (should be if their using the same php.ini)
Zooter
Forum Commoner
Posts: 45
Joined: Tue May 18, 2004 10:46 am
Location: South Africa

Post by Zooter »

Hi, Got PHP 4.3.? The release just before 5 came out. Sorry haven't got my stuff here. And the php.ini files are identical, and they display the identical phpinfo on each system..

Weird?
Post Reply