Problem with sessions
Posted: Thu Feb 14, 2008 5:08 am
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 :
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
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();
?>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