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
Abhishek KumarRank #510 · 4.8K reputationPosted Aug 6, 2015, 4:35 AM EDT
chandrashekar vs12 reputationPosted Aug 21, 2015, 9:27 PM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Aug 21, 2015, 9:59 PM EDT
Sumit JoshiRank #1,252 · 1.4K reputationPosted Aug 22, 2015, 12:27 AM EDT
Ganapavarapu Nageswararao150 reputationPosted Aug 23, 2015, 4:53 AM EDT
Abhishek KumarRank #510 · 4.8K reputationPosted Aug 23, 2015, 10:20 PM EDT