Session_end

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

win xp -- vs 2002 -- web forms -- Access 2002

When does the session end I put code into the globalasax.vb , session_end
sub.

I go into the web pages and I add a record to a file and in the
globalasax.vb I update the record but it doesn't work. (I end the session by
clicking the X in top right of form)

I put a response.redirect to another web site just for testing and it
doesn't work.

Thanks
Tony
 
Tony said:
win xp -- vs 2002 -- web forms -- Access 2002

When does the session end I put code into the globalasax.vb ,
session_end sub.

I go into the web pages and I add a record to a file and in the
globalasax.vb I update the record but it doesn't work. (I end the
session by clicking the X in top right of form)

I put a response.redirect to another web site just for testing and it
doesn't work.

The server knows nothing about when the browser is closed or redirected to
another site.
The Session_End event only fires when the session timeout expires, or when
you call the Session.Abandon method from your server code.
 
is there anyway I can capture the closing of the window, File>exit , and
moving to a new URL?

Thanks
 
Back
Top