Re: session mysteriously killed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/1/20 clive <clive_lists@xxxxxxxxxxxxxxxxxxx>

> 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);
}

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux