Click here to Skip to main content
15,946,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in my local site session working properly in with in a hour and above but in my live site its not working properly. session expire 5 to 6 min.. how to solve this error.
Karthic Raja 14-Mar-15 4:02am    
i need session state time out plz help me.. in local site session Expires one hour.. but live site Expires 2 or 3 min, but some time session expires 13 to 15 min how to solve this error..

1 solution

Hi, in web.config file, write this code will solve your query.

     <sessionState timeout="20"></sessionState>

some links related,[^][^]
Share this answer

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