469,954 Members | 1,780 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,954 developers. It's quick & easy.

Session expired too fast

I am using Session to capture my login name and this session is checking on
every page that required login.
However, there is a problem that the session is expired too fast! When i
jump to another windows, then go back to the page that i have developed, the
user is required to login again even less than 5 minutes.

Thus, how can i solve this problem? This is because i can't find any problem
in my code and i don't know how could this happen? In fact, the session
should be valid for 20 minutes.

Thanks in advance .....
Nov 17 '05 #1
1 2675
It sounds like the session data is being nulled out somewhere. Unless,
changed at the IIS or Web.Config level, sessions are 20 minutes.

Check your code that is setting the session data. Is it only setting the
session data at the correct time? Is there a chance that this code re-sets
the session data if the user returns to this page after having logged in
successfully.

Do you lose the session data after 5 minutes if you DON'T go back to a
previous page?
"lsf_80" <li***@ytlesolutions.com> wrote in message
news:ON**************@TK2MSFTNGP10.phx.gbl...
I am using Session to capture my login name and this session is checking on every page that required login.
However, there is a problem that the session is expired too fast! When i
jump to another windows, then go back to the page that i have developed, the user is required to login again even less than 5 minutes.

Thus, how can i solve this problem? This is because i can't find any problem in my code and i don't know how could this happen? In fact, the session
should be valid for 20 minutes.

Thanks in advance .....

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by David B | last post: by
6 posts views Thread by Keith | last post: by
18 posts views Thread by Rippo | last post: by
2 posts views Thread by Gordon Burditt | last post: by
4 posts views Thread by sriram | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.