session in db?

Results 1 to 2 of 2

Thread: session in db?

  1. #1
    Join Date
    Dec 1969

    Default session in db?

    I want to restrict access by db logins...where if a user is logged in already...nobody can log in using the same credentials. <BR><BR>I can set a db column to Logged = Y/N and check that...BUT....if the user just closes out the will close the session...but leave the db value as Y. How can I work that out so that if the session expires, and/or the window is changes the db field as well??

  2. #2
    Join Date
    Dec 1969

    Default RE: session in db?

    Update you session on Every Page, So yoou can check if Session is Active then update Db to say Last logged in at 10:31 next time someone tries to log in, Update your entire table to say All Actively logged in people, who&#039;s time is older than twenty mins, log out!<BR><BR>HTMS.<BR>D.

Posting Permissions

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