Using Cookieless Session State : sessionState « Sessions « ASP.NET Tutorial






The web configuration file enables cookieless sessions by assigning the value AutoDetect to the cookieless attribute.

File: Web.Config

<configuration>
<system.web>
  <sessionState
    cookieless="AutoDetect"
    regenerateExpiredSessionId="true" />
</system.web>
</configuration>








11.4.sessionState
11.4.1.Controlling When a Session Times Out
11.4.2.Using Cookieless Session State
11.4.3.If a session ends