SESSION TRACKING PROBLEM, Problem tracking session in PHP 4

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
qkidamon
Forum Newbie
Posts: 1
Joined: Wed Mar 10, 2004 11:02 am

SESSION TRACKING PROBLEM, Problem tracking session in PHP 4

Post 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. :(
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post 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>
Post Reply