Re: [PHP] quick sanity check on user management / sessions

2002-11-24 Thread Justin French
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 log

Re: [PHP] quick sanity check on user management / sessions

2002-11-24 Thread Ernest E Vogelsinger
At 03:33 25.11.2002, Justin French said: [snip] >I know the above should be fine, but I'm just checking if there's any reason >why I choose to call the DB on every page... it was about 2 years ago, so my >guess is "inexperience" :) [snip]-

Re: [PHP] quick sanity check on user management / sessions

2002-11-24 Thread Chris Shiflett
--- Justin French <[EMAIL PROTECTED]> wrote: > I just need a quick sanity check. I'm no doctor, but I think you're sane. :-) > For some reason (inexperience probably, or a bad > article), it was set-up so that both the uid and pwd > were set as session variables, and EACH PAGE on the > site chec

[PHP] quick sanity check on user management / sessions

2002-11-24 Thread Justin French
Hi all, I just need a quick sanity check. I was going through some old scripts, cleaning them up, optimising them, etc etc... and then I opened my OLD user/sessions management library... For some reason (inexperience probably, or a bad article), it was set-up so that both the uid and pwd were se