Re: Session and Cookie error on Windows+Apache

From: Date: Wed, 05 May 2004 01:44:19 +0000
Subject: Re: Session and Cookie error on Windows+Apache
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-23622@lists.php.net to get a copy of this message
I've set variables for session.save_path = c:/php4/tmp in the php.ini, when starting request from the browser to the server (Win+Apache+PHP) for example http://localhost/test/test_session.php the temporary sessions files are created, and stored session information. When second request arrived to the server its start creating another session instead of getting the first request of session information. This problem are the same for cookies as well. Without changing any php code and php.ini files, the session and cookie running well. Regards At 08:10 PM 5/4/2004, you wrote:
In my (limited)experience, session variables won't work with Apache on windows until you set the session.save_path variable in the php.ini file to a directory for the temporary session files to go in. Why it works in IIS I'm not sure - I have never used it. Regards, Jonathan Pilborough ===== -- Please fill in my Business Questionnaire at http://www.businessq.tk -- Pupil at Haybridge High School http://www.haybridge.worcs.sch.uk


« previous php.windows (#23622) next »