vdpramesh Posted January 21, 2004 Posted January 21, 2004 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. Quote
alemargo Posted February 3, 2004 Posted February 3, 2004 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.