Re: quick sanity check on user management / sessions
| From: | Justin French | Date: | Mon, 25 Nov 2002 03:25:06 +0000 |
| Subject: | Re: quick sanity check on user management / sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125867@lists.php.net to get a copy of this message | ||
Thanks all :)
> That's what all my apps do - they just check if the user is already logged in.
>
> When there's no "user record" in session space, the login box gets
> displayed, and as a response of user login the script checks the database.
> It then reads all necessary data, including last login, user rights, etc
> etc, from the DB, sometimes updates a user cookie, depending on the app. DB
> is checked only once.
>
Justin French
--------------------
http://Indent.com.au
Web Development &
Graphic Design
--------------------