Results 1 to 2 of 2

Thread: Session_OnEnd

  1. #1
    Join Date
    Dec 1969

    Default Session_OnEnd

    Look&#039;s like the server doesn&#039;t go through the following code ---&#062;<BR>/*global.asa*/<BR>Sub Session_OnEnd<BR> set conn = Server.CreateObject ("ADODB.Connection")<BR> conn.Open Application("connString")<BR> Application.Lock<BR> query = "UPDATE LogTime SET Logout_Time=#" & now() & "#, offline=True WHERE offline=False AND ...<BR> Application.Unlock<BR> conn.Execute (query)<BR> conn.Close<BR> set conn = Nothing<BR>End Sub<BR>How to execute that code properly when a user close his browser ?<BR>I need an accurate way to determine if the user still online.<BR>Without asking him to click Logout.<BR>Thank&#039;s New asp, c++ developper who likes ASP

  2. #2
    Join Date
    Dec 1969

    Default RE: Session_OnEnd

    we&#039;re told that the onend event doesn&#039;t have sufficient COM/COM+ protection to use external objects. in our experience, it&#039;s not reliable.

Posting Permissions

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