Re: [PHP] session mysteriously killed

2009-01-20 Thread Edmund Hertle
2009/1/20 clive > 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

Re: [PHP] session mysteriously killed

2009-01-20 Thread clive
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,

Re: [PHP] session mysteriously killed

2009-01-20 Thread clive
c...@l-i-e.com wrote: Are you perhaps storing the session data in a DB? No its using the file system If the field type is, say, text, and you put something large in $_SESSION, you'll have truncated data, the session manager can't unserialize it, and you will have a silent failure when th

Re: [PHP] session mysteriously killed

2009-01-20 Thread ceo
Are you perhaps storing the session data in a DB? If the field type is, say, text, and you put something large in $_SESSION, you'll have truncated data, the session manager can't unserialize it, and you will have a silent failure when they try to do their next task -- They get logged out and