Re: session mysteriously killed
| From: | Edmund Hertle | Date: | Tue, 20 Jan 2009 15:40:54 +0000 |
| Subject: | Re: session mysteriously killed | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286862@lists.php.net to get a copy of this message | ||
2009/1/20 clive <clive_lists@immigrationunit.com>
> 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
>
> }
Is the session completly destroyed? Try
} else {
print_r($_SESSION);
}