Session Timeout not happening.

vdpramesh

Newcomer
Joined
Jan 15, 2004
Messages
3
Location
India
Hi All:
I am using my aspx application which is there in root of ILSS in windows 2000 server.
I have specified session time out=20 in my web config. by default in My IIS also it is specified timeout as 20 mins. I am facing the problem is, my page never got session time out.
Could you tell me what could be problem ?. How to resolve it?

Thanks in Advance
Ramesh.
 
session timeout

Actually, the timeout does occur. The way I use it is upon page init I check if user is valid. If TRUE, then I load the page; if FALSE, I redirect to my Login.aspx.
When session expires, the last page will be displayed untill a user tries to go to a different page (within application). At this time the use will not be validated since the session has expired.

Here is an example,

When user logs in, I set SESSION variable USERNAME to a user login name. When session expires, all SESSION variables are reset to nothing. Based on that I make a decission to redirect a user to Login page or continue to the next one.

I hope this cleared it for you.
 
Back
Top