Session problem

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

Session problem

Postby lptr » 28. August 2006 13:59


I have some problems with the sessions... I create a session and see it is created in the tmp folder, but my web server doesn't "see" them... I create session like that: $_SESSION['username'] = $username; (and for test i replaced $username with lptr, didn't working again) and see the new file in my tmp folder. But when i try to use it (echo $_SESSION['username'];) it display nothing... In the beginning at every script i have session_start(); and these scripts works fine with appserv, but in xampp... :( Can anyone help me to solve this problem ? :( Thanks!
Posts: 1
Joined: 28. August 2006 13:49

Postby ashokleyland » 29. August 2006 08:59

i have the same problem here. each time a session_start() is sent, the session file in the temp folder is reset. the script works fine on the server.
Posts: 1
Joined: 29. August 2006 08:42

Postby hoergen » 12. January 2007 08:41

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
Posts: 11
Joined: 12. January 2007 08:30

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 98 guests