Re: session mysteriously killed

From: Date: Tue, 20 Jan 2009 15:35:30 +0000
Subject: Re: session mysteriously killed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-286859@lists.php.net to get a copy of this message
further to my last email, the bit of code that checks if the person is logged in looks something like this: if ( isset ( $_SESSION['loggedin'] ) ) { //check some other session variables } else { //log reason for logging the user out //redirect to login page } The variable, $_COOKIE['PHPSESSID'], has a value when a log out occurs and when I check the session save path, a file exists that corresponds the PHPSESSID sent via the cookie and it has all the right values, so $_SESSION['loggedin'] does exits and has a value. Its almost like php has a problem accessing the sess_XXXXXXXXXXXXXXXX file sometimes. Clive

« previous php.general (#286859) next »