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