Session Not Remembered

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Session Not Remembered

Postby emb1 » 01. October 2006 08:21

I have a problem with a new local installation of XAMPP 1.5.4 on a Windoows XP machine - sessions are not working.

What happens is that every time a page that uses a session variable on localhost is reloaded, a new PHPSESSID cookie file is created in /tmp, thus making it impossible to read $_SESSION variables set in the previous pages.

I noticed there are quite a few people on this forum with similar problem, but I didn't find any solutions or answers explaining the problem.

Has anyone figured what's going on with these sessions?

Thanks
emb1
 
Posts: 1
Joined: 01. October 2006 06:42

Postby hoergen » 12. January 2007 08:40

That has nothing to do with buggy code. There is a unhappy configuration in php.ini

Change the session.save_path to something like

Code: Select all
session.save_path = "0;600;C:\Temp


dem hoergen
hoergen
 
Posts: 11
Joined: 12. January 2007 08:30


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 96 guests