First
<configuration>
<system.web>
<sessionState mode="InProc" cookieless="true"timeout="60"/>
</sessionState>
</system.web>
</configuration>
Second
Go to global.asax file and write the code below:
void Session_Start(object sender, EventArgs e)
{
Session.Timeout = 60;
}
I tried Both methods in my application but, still my application session ends with in 20 min's . please give me the solution