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


in my website which i was create in asp.net with c# in dotnet framework4.0,when i login in my web application in case of, I leave the application in ideal in more than 20 min. the session will be expire, but in gmail, facebook etc social networking site session is not expaire. how it is possible?

its not handel in increase ihe time of web config file....
Posted
Updated 24-Jul-13 19:30pm
v2
Comments
Jignesh Khant 25-Jul-13 1:17am    
You can Increase the session time out property in web.config file.

Hi...
Refer this.Session timeout menssion in web.config.Like...
http://www.aspdotnet-suresh.com/2010/10/session-timeout-problem-in-aspnet.html[^]
Thank u.
 
Share this answer
 
You can make use of AJAX and a webservice to keep session alive.Refer to this link

Prevent Session Timeout in ASP.NET[^]

Another work around:

Prevent Session Timeout in ASP.NET[Codeproject][^]

Regards..:laugh:
 
Share this answer
 
v2
 
Share this answer
 
v2

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