Click here to Skip to main content
15,890,670 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All, I Need to fix Session timeout for 30 minute, I try so many code in web.config but that doesn't work. Can anyone have an idea how can i fix session log out time for 30 minute, Because my user id automatically log out after 2 minute.

when i logged in site, and stay for some time then it automatically logged out.
Posted
Updated 14-Sep-12 2:26am
v3
Comments
Mr. Mahesh Patel 14-Sep-12 7:55am    
which session state you are using. i mean StateServer, Inproc, SqlServer.....?
ZurdoDev 14-Sep-12 8:05am    
How do you know it is logging out? What exactly are you seeing? The default, if you do nothing is actually 30 minutes.
Mas11 14-Sep-12 8:25am    
when i logged in site, and stay for some time then it automatically logged out.

Hi,

check this MSDN[^] article.

it may help you.
 
Share this answer
 
Comments
Mas11 14-Sep-12 8:45am    
when i logged in site, and stay for some time then it automatically logged out.
it depends on which state server you have use means state server,sql server or Inproc

so make sure which you have used and make changes
 
Share this answer
 
Comments
Mas11 14-Sep-12 8:45am    
when i logged in site, and stay for some time then it automatically logged out.

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