Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

  • 2 weeks later...
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...