session id changes on every page refresh
Posted: Fri Feb 08, 2008 2:11 am
I have just start a session in my website. But on every page refresh i got a different session id. Here is the code
I am using Xampp server, can anyone tell me that whcih session property i will set in my php.ini file so that my session id will not changed on every page refresh
Thanks
Code: Select all
if(!session_id())
{
session_start();
}
print session_id();
Thanks