You should also keep in mind that OnSessionEnd is only raised if your
session state is InProc.

-- Stefan


----- Original Message -----
From: "Thomas Tomiczek" <[EMAIL PROTECTED]>
Sent: Wednesday, April 17, 2002 6:09 AM
Subject: Re: On Session_OnEnd how to determine if it is normal end of
application or end due to timeout


No, not per definition.

It is always a timeout.

Make closing the application "an action" and set a flag, then you know.

Regards

Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)



-----Original Message-----
From: Prashant Dikshit [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 17. April 2002 11:54
To: [EMAIL PROTECTED]
Subject: [DOTNET] On Session_OnEnd how to determine if it is normal end
of application or end due to timeout


HI All,
How can I determine whether the session has ended because the user
closed the application or the session has ended because of Session
Timeout. I want to know this so that once the Session timeout has
occurred, I redirect him to the login page but after that I want him to
come to the page where session timeout occurred.

How can I do this??

Regards,
Prashant

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to