Please help me - php keeps losing my session. I include a config file at the top of every script with this code.
if(!isset($HTTP_SESSION_VARS['session'])){
session_register('session');
$HTTP_SESSION_VARS['session'] = array();
}
session_start();
But every time I re-load the page my session is lost. I appear to have tmp sessions in the /tmp folder
Please help - what am I doing wrong?
Thank you
{Greenster}
if(!isset($HTTP_SESSION_VARS['session'])){
session_register('session');
$HTTP_SESSION_VARS['session'] = array();
}
session_start();
But every time I re-load the page my session is lost. I appear to have tmp sessions in the /tmp folder
Please help - what am I doing wrong?
Thank you
{Greenster}