Re: Session and Cookie error on Windows+Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux