Sunday, May 15, 2011

Sessions in ASP.NET

Session :
1. mode  :
  InProc
  StateServer
  SQLServer
  Off
  Custom
2. timeout  :
 default is 20  mins.
 max for StateServer and InProc is 1 yr  => 525,600 min

3. stateConnectionString :
 default is  "tcpip=127.0.0.1:42424"
4. cookieName : The default is "ASP.NET_SessionId".

5. cookieless : The default is the UseCookies value.
 AutoDetect
 UseCookies
 UseDeviceProfile
 UseUri

No comments:

Post a Comment

 using Microsoft.AspNetCore.Mvc; using System.Xml.Linq; using System.Xml.XPath; //<table class="common-table medium js-table js-stre...