Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 03, 2012 10:05 AM by raghunandcs
Member
483 Points
179 Posts
Aug 03, 2012 04:52 AM|LINK
I want to increase my application session time out to 1 hour or more than that.
Presently i have written the below lines of code in my we config file
<authentication mode="Forms"> <forms loginUrl="~/Login.aspx" timeout="50"/> </authentication> <sessionState timeout="60"> </sessionState>
But the session gets expired within 10 minutes.How to solve this?Please help.
522 Points
123 Posts
Aug 03, 2012 04:54 AM|LINK
In web config file, change sessionstate timeout propety
<system.web> <sessionState mode="InProc" cookieless="false" timeout="60"/> </system.web>
Participant
857 Points
312 Posts
Aug 03, 2012 10:00 AM|LINK
Are you active in application when it gets timeout?
You can check below links:
http://www.aspnet101.com/faq/set-or-increase-the-session-timeout-in-asp-net/
http://stackoverflow.com/questions/8656463/increasing-session-timeout
686 Points
163 Posts
Aug 03, 2012 10:05 AM|LINK
Hi,
You can increse time ou in web.config or else in IIS. Please go through the following links. It may help you......
http://www.codeproject.com/Questions/282500/how-can-i-increase-Session-time-out-in-asp-2-0
http://www.justskins.com/forums/session-timeout-5379.html
ziaulrahman
Member
483 Points
179 Posts
how to increase session time out to 1 hour?
Aug 03, 2012 04:52 AM|LINK
I want to increase my application session time out to 1 hour or more than that.
Presently i have written the below lines of code in my we config file
<authentication mode="Forms">
<forms loginUrl="~/Login.aspx" timeout="50"/>
</authentication>
<sessionState timeout="60">
</sessionState>
But the session gets expired within 10 minutes.How to solve this?Please help.
Mark answer if it helps.
Anish V.S.
Member
522 Points
123 Posts
Re: how to increase session time out to 1 hour?
Aug 03, 2012 04:54 AM|LINK
In web config file, change sessionstate timeout propety
<system.web>
<sessionState mode="InProc" cookieless="false" timeout="60"/>
</system.web>
shivani.gupt...
Participant
857 Points
312 Posts
Re: how to increase session time out to 1 hour?
Aug 03, 2012 10:00 AM|LINK
Are you active in application when it gets timeout?
You can check below links:
http://www.aspnet101.com/faq/set-or-increase-the-session-timeout-in-asp-net/
http://stackoverflow.com/questions/8656463/increasing-session-timeout
My Blog: http://shivaniaspnet.blogspot.in
raghunandcs
Member
686 Points
163 Posts
Re: how to increase session time out to 1 hour?
Aug 03, 2012 10:05 AM|LINK
Hi,
You can increse time ou in web.config or else in IIS. Please go through the following links. It may help you......
http://www.codeproject.com/Questions/282500/how-can-i-increase-Session-time-out-in-asp-2-0
http://www.justskins.com/forums/session-timeout-5379.html