Try this..
<configuration>
<system.web>
<sessionState timeout="60"/>
</sessionState>
</system.web>
</configuration>
You can add mode="InProc" cookieless="false" in SessionState.
You can also write the following solution in .cs file
Session.Timeout = 60;
You can set your desired time in place of 60.