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 <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to