Page 1 of 1

Problem with sessions

Posted: Thu Feb 14, 2008 5:08 am
by Mandron
Hi Folks !

I currently have a configuration problem about sessions. My test server (running Xampp) doesn't keep session variables.
When I try to run this code :

Code: Select all

<?php
session_start();
echo "SID:".session_id();
?>
the session ID is different every time I refresh the page.
However, it works fine on my web hosting provider.

Could anyone tell me what I have to modify in my server configuration files in order to put sessions to work ?

Thanks in advance

Re: Problem with sessions

Posted: Thu Feb 14, 2008 7:48 am
by Christopher
Please post your current session configuration and OS type.