Results 1 to 2 of 2

Thread: user already logged in [RESOLVED]

  1. #1

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    user already logged in [RESOLVED]

    i am pondering now how to set up my application so that if a user is logged in then they cannot login again

    i was thinking of putting a field in the db (logged in)
    1 if they are logged in
    0 if they are not

    then

    if logged in = 1 where username
    then give error
    "youre already logged in so dont even try it"

    would this be the way to do it..
    Last edited by d2005; Sep 20th, 2005 at 06:57 AM. Reason: already been answered
    it works 60% of the time, all the time.

  2. #2

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: user already logged in [RESOLVED]

    THIS THREAD HAS BEEN PREVIOUSLY ANSWERED BY MENDHAK

    this seems to be they way to do it.
    thanks mendhak for your reply, just found it there now, sorry
    moderator feel free to delete this thread
    it works 60% of the time, all the time.

Posting Permissions

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



Click Here to Expand Forum to Full Width