Session and Login

Results 1 to 2 of 2

Thread: Session and Login

  1. #1
    Join Date
    Dec 1969

    Default Session and Login

    I assign session("login")=true and session("USID")="His ID" when user sucessfully logged in.<BR><BR>Is it adequate enough to just simply check (if not session("USID")="") to see if the user is already logged in?

  2. #2
    Join Date
    Dec 1969

    Default Well, if you ALWAYS set both...

    ...session variables, then it&#039;s adequate to check either to see if the user is logged in. So you could even just check the session variable login if you wanted to.<BR><BR>Oliver.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts