Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: How to find the time when a session was terminated?


Message #1 by "Sergiy" <sergiy@x...> on Wed, 9 Oct 2002 23:08:56 +1300
Hi all,



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.



Sergiy


Message #2 by "Dmitry Brook" <brook74@h...> on Wed, 09 Oct 2002 10:13:23 +0000
Just check before action length of Session variable - if it has a zero that 
will mean you session has expired. There is not 'gentle' handler for such an 
event....


>From: "Sergiy" <sergiy@x...>
>Reply-To: "aspx_beginners" <aspx_beginners@p...>
>To: "aspx_beginners" <aspx_beginners@p...>
>Subject: [aspx_beginners] How to find the time when a session was 
>terminated?
>Date: Wed, 9 Oct 2002 23:08:56 +1300
>
>Hi all,
>
>
>
>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.
>
>
>
>Sergiy
>
>
>
>---
>Beginning ASP.NET Databases using VB.NET
>http://www.wrox.com/ACON11.asp?ISBN=1861006195
>
>Beginning ASP.NET Databases using C#
>http://www.wrox.com/ACON11.asp?ISBN=1861007418
>
>These books look at how we can create data-centric ASP.NET
>applications. Requiring some basic knowledge of ASP.NET,
>Access and SQL the authors guide you through the process
>of connecting and consuming information in a variety of
>ways. They are packed full of excellent illustrative code
>examples, demonstrating important fundamental principles.




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


  Return to Index