web.config session expiration code example
Example: asp.net c# set session timeout
<configuration>
<system.web>
<sessionState timeout="20"></sessionState>
</system.web>
</configuration>
<configuration>
<system.web>
<sessionState timeout="20"></sessionState>
</system.web>
</configuration>