aspx Tutorial

NET Articles,jQuery demo, asp.net with jQuery, online tutorial,Jquery, SilverLight, Javascript, asp.net,JSON, MVC,.NET Articles,demo, Web Services,
Advertise Here

Toolbar

Get our toolbar!

Advertize



Posted by Aamir Hasan   on Wednesday, November 17, 2010 Total Views:  

Session variables are stored at server side, by default Session timeout will expire after 20 minutes. We can change the ASP.NET Session timeout in Web.Config and code behind. In this example, i have changed the ASP.NET Session timeout value to 1 hour in the Web.Config

Here’s is the solution

<configuration>
 <system.web>
   <sessionState
     timeout="60" />
 </system.web>
</configuration>


Note: If you have increase ASP.NET Session timeout then you have to increase application idle timeout from Application pool, if Session timeout is greater then Application pool idle timeout then Session will be expire because Application is recycled before session timeout.

Protected by Copyscape Online Plagiarism Tool

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Advertizement 1
Advertizement 2
Advertizement 3
Advertizement 4
Advertizement 5