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>