Results 1 to 2 of 2

Thread: logged, whos logged, cant log

  1. #1

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

    logged, whos logged, cant log

    hows it going.

    how do you set up that if a user is logged in noone else can log in using the same login details. i was thinking of putting a 0/1 filed in the database and
    then if logged in you cant login again.

    any one any sample codes to view whos logged in for an admin page

    how would you write this statement
    if username already exsists, please choose a different user name,
    username chosen at registration shall be my primary key

    :
    it works 60% of the time, all the time.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: logged, whos logged, cant log

    Set a bit (1 or 0) in the database for this. In the application's Session end event, you can reset the bit to 0 in the database.

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