Home All Groups Group Topic Archive Search About

Session timeout and events

Author
13 Aug 2006 4:37 PM
Henry
Hi

I'm new to the .net and session variables things, and I have a problem with
my application in which I use session variables to transfer data between
pages. when I leave the page for a few moments the session times out and the
variables are destroyed, which gives me a error.

I have read somewhere that there is an session.ontimeout (or something)
event, can I use that event to transfer the user to a timeout (bye bye)
page?
Where should I put that code and what options du I have?

cheers
Henry

Author
14 Aug 2006 6:29 AM
Cor Ligthert [MVP]
Henry,

I think that there is not much to add to this page and the links it is
showing, to help you with your problem..

http://msdn2.microsoft.com/en-us/library/87069683.aspx

I hope this helps,

Cor


The session is timing out, which means that if the user returns the page to
late, it will not be
Show quoteHide quote
"Henry" <n**@il.com> schreef in bericht
news:ua$gGbvvGHA.2436@TK2MSFTNGP06.phx.gbl...
> Hi
>
> I'm new to the .net and session variables things, and I have a problem
> with my application in which I use session variables to transfer data
> between pages. when I leave the page for a few moments the session times
> out and the variables are destroyed, which gives me a error.
>
> I have read somewhere that there is an session.ontimeout (or something)
> event, can I use that event to transfer the user to a timeout (bye bye)
> page?
> Where should I put that code and what options du I have?
>
> cheers
> Henry
>