Re: Login process (newbie)

From: Date: Mon, 28 Apr 2003 09:29:01 +0000
Subject: Re: Login process (newbie)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145492@lists.php.net to get a copy of this message
Provide a logout page, where you unset the session variable. You can play with the session cookie lifetime too. Karina S wrote:
Hi, I have a site to login users. After login I store the name in a session variable. My index.php checks the Session['UserName']. If it is not set user have to login but if this variable is set than not. But if user go to an other web site and then comes an other user to this computer and go to my site he don't need to login, because the session variable is set. How can handle this problem? Thanks!


« previous php.general (#145492) next »