Page 1 of 1

SESSION TRACKING PROBLEM, Problem tracking session in PHP 4

Posted: Wed Mar 10, 2004 11:02 am
by qkidamon
I`m using PHP 4.3.4 as a module with Apache 1.3.29 and Apache 2.0.48 running in Windows XP Profesional system.

I`m trying to track sessions using session cookies only (trans_sid disabled) and i can´t get session_start() to send the cookie. The result is that a new session is created by every new page i open. This same aplication runs with no errors over Apache 1.3.x in a Linux System and with no changes in PHP sources.

I`m sure that no HTML output is made before the session_start() call and i don´t understand why i can´t get the session cookie sent.

Help needed.

Thanks.

Miguel. :(

Posted: Wed Mar 10, 2004 4:25 pm
by markl999
Check c:\windows\php.ini , the session.save_path is probably set to it's default of /tmp , change it to c:\temp (or wherever you want) and restart apache. </guess>