Hi there!
Yesterday I was having problems with experimenting with sessions in PHP4. When testing the example script from the PHP manual, I noticed that the session-id got registered correctly but the session variables did not.
After a couple of hours of experimenting and digging in the PHP online manual and comments, a hint led me to the entry called 'session.save_path' in the php.ini file. I changed it to 'C:\tmp' and 'C:\Windows\Temp', but to no avail. Both folders exist on my system.
Just before I went completely insane, I tried the value '.' as the session.save_path. And guess what, it worked!!! My next tries were values like '.\temp' and '..\temp', which worked too.
My questions to you guys:
Am I right stating that I have to set the session.save_path to a folder relative to the 'working directory' the php script is running in? Is it possible to point the session.save_path to a folder using a drive letter in any way?
Regards,
Theo