do the following function a(){ var_dump('<pre>',$GLOBALS,'</pre>'); } a();
and see what variables you have and whether your variables are set somewhere. HTH Andrey ----- Original Message ----- From: "Tyler Durdin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 26, 2002 9:28 PM Subject: Re: [PHP] Re: sessions > Still the same message. It has been actually logging me out all along, but > it will not run through that if statement. > > >Could you trye > >if (!empty($HTTP_SESSION_VARS['valid_user']) > >use $HTTP_SESSION_VARS > > > > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php