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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to