Re: still on sessions

From: Date: Fri, 26 Jul 2002 20:00:50 +0000
Subject: Re: still on sessions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109868@lists.php.net to get a copy of this message
Just check for existence of any of the session vars. If they don't exist, then you can consider the session closed. if ( $_SESSION['var'] ) { ...still logged in. } else { ...logged out. } > From: linuxgeek23@hotmail.com (Tyler Durdin) > Newsgroups: php.general > Date: Fri, 26 Jul 2002 19:46:46 +0000 > To: php-general@lists.php.net > Subject: Re: [PHP] still on sessions > > Alright this is my last question. I have closed the session, but can i make > sure it is closed? i want to use something like if the session is closed > then print a message session closed. > > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: > http://mobile.msn.com >

« previous php.general (#109868) next »