Re: Re: sessions

From: Date: Fri, 26 Jul 2002 18:12:13 +0000
Subject: Re: Re: sessions
Groups: php.general 
Request: Send a blank email to php-general+get-109840@lists.php.net to get a copy of this message
Still getting the same message. This script used to work perfectly in an older version of php. Could it be a problem with how I am setting the sessions. Has anything changed with how we code sessions?
It's because you are unregistering the valid_user variable, but, the old_user var you defined early on still exists. So, "if (!empty($old_user))" will equal FALSE, giving you the result you are getting. Change it to "if (!empty($valid_user))". Monty
_________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com

« previous php.general (#109840) next »