Page 1 of 1

sessions and windows

Posted: Sun Aug 01, 2004 8:31 am
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?

Posted: Sun Aug 01, 2004 9:11 am
by markl999
What version of PHP on each?
Are the phpinfo() 's on each identical? (should be if their using the same php.ini)

Posted: Mon Aug 02, 2004 3:20 pm
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?