Re: application variable

From: Date: Sat, 19 Jan 2002 23:03:41 +0000
Subject: Re: application variable
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-81253@lists.php.net to get a copy of this message
Hi there, I usually test at the top of the page that does my 'logging-in' to see if the variable I set for each user once they actually login is set. So if I set a variable called '$isloggedin' upon a successful login, I would check at the top of that page to see if it is set or not, if it's already set bypass the login and redirect them to a new page. HTH Joe :) Ye Tun <ye@maia.cl.au.ac.th> wrote in message news:Pine.GSO.4.43.0201040217180.7023-100000@maia.cl.au.ac.th... > Do we have application variable in PHP as in ASP? > > I have a small database running with user name and password kept in MySQL > database. Once user is login, how can I prevent the same user from > logging in again? > > REgards, > > Ye >

« previous php.general (#81253) next »