|
-
Oct 9th, 2002, 05:14 AM
#1
Thread Starter
Addicted Member
How to find the time when a session was terminated?
How can I find the time when a session was terminated? Is there any built in functionality in ASP.NET to find it? And if it is not, how can I find that event? The visitor can type another URL address in a browser, or select any site from ‘Favorites’ folder, or click on a button ‘Back’ several times to go to any previously visited page, or just close a browser from a menu, or click on ‘x’ button.
-
Oct 11th, 2002, 02:14 PM
#2
Hyperactive Member
This is the session end event which is found in the global.asax.vb, the codebehind for the global.asax file:-
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the session ends
End Sub
Sessions end based on a timeout you specifiy in the web.config file which is 20 minutes by default and you are correct in wondering about knowing the exact time. There is no way of knowing exactly when a session ends by the very nature of web browsing.
-
Oct 12th, 2002, 03:59 AM
#3
Thread Starter
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|