Results 1 to 2 of 2

Thread: Session_onend

  1. #1
    Join Date
    Dec 1969

    Default Session_onend

    Hi<BR><BR>I have written a piece of code that stops a user logging into a site and running more than one session at a time. <BR><BR>By updating a db field to say they are logged on and again to say they&#039;ve logged off.<BR><BR>My problem is that i want to automate the process of the logoff should the session timeout. (or user leave without logging off)<BR><BR>I cannot get a session_OnEnd to fire in a global.asa after the session times out. my code seems ok as it is the same piece used to by the user to logoff.<BR><BR>I&#039;ve heard the session_OnEnd doesn&#039;t realy work so...<BR><BR>Can anyone point me in the direction of a piece of code that will help me automaticaly log a user off after a session.timeout is reached.<BR><BR>thanks<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Session_onend

    Store the login time in the db and then run a piece of code in WSH x hours to log any user that has been logged in for time longer than you think is likely.

Posting Permissions

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