Problem with sessions

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

Problem with sessions

Postby thankqwerty » 03. October 2008 12:27

Hi all, I have a simple code that uses session. I have two computers one with XP and one with linux SUSE 10.3, both have XAMPP installed and both are version 1.6.7 (i believe). My problem is that the session works perfectly fine on the windows server, but not on my linux server where the information stored in session is lost when change from one page to another. I didn't change any of the default setting.

Any suggestions??
Posts: 1
Joined: 03. October 2008 12:15

Postby Tiddo » 03. October 2008 14:03

a possibility is that the sessions are stored in cookies (session variables are alway stored in cookies or the url). Maybe you have turned cookies off in your web browser on your linuxserver
Posts: 7
Joined: 03. October 2008 13:46

Postby glitzi85 » 03. October 2008 16:20

Tiddo wrote:session variables are alway stored in cookies or the url

No, Session-Variables are ALWAYS stored on the Server! The only thing transmitted to the user is the Session-ID, which tells the server what Session-File he has to load!

If it is not a Cookie-Problem, please post the session-Settings from phpinfo.

User avatar
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 54 guests