Click here to Skip to main content
15,850,299 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I'm having a problem here with my web application. I set the sessionstate timeout to 15 minutes and form timeout for 15 minutes as well where in form timeout,it will redirect the page to login page ;

<forms loginUrl="Login.aspx" slidingExpiration="false" timeout="15"/> 

<sessionstate timeout="15" cookieless="false" /> 

By right,it should only redirect the page to login page only after the session ends (timeout).But i dont understand why the page is redirected to login page even before the session timeout ends.This makes user unable to login again because the user is already logged in (session havent end).

I m using iis 7.5

Do i missed something here?Any ideas guys?
RAHUL(10217975) 8-Jan-15 7:13am    
Its very late , Anyways did you find the solution for the above? I am facing the same issue?

1 solution

Try this:
<sessionstate timeout="15" cookieless="false" mode="InProc" /> 

You should see this one:[^]

Please let me know if you still encounter the same.

Share this answer
pwtc222 5-Dec-11 3:40am    
Its the same as mine
[no name] 5-Dec-11 3:52am    
revised. Sorry for that :)
pwtc222 5-Dec-11 4:07am    
Ok,let me test on that first
pwtc222 5-Dec-11 20:01pm    
Sorry,but that does not solve the problem :(
pwtc222 6-Dec-11 1:29am    
my application redirecting to login page after 15 minutes

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900