TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
kshitij colvalkar
NA
59
0
ASP.State DB session expiring earlier than expected duration
Aug 19 2019 12:20 AM
We have a Windows 2008 R2 machine which has an IIS application hosted on it. The application uses forms authentication with cookies and ASP state DB for sessions.
Recently after Windows 2008 R2 upgrade we are facing issues with session timeouts. The sessions are timing out way before the expected period.
We have set session timeout to 60 minutes and Application pool Idle Time-out to 20 minutes. Can someone please provide a solution to fix this session timeout issues.
We have already tried increasing session timeout from 60 to 1140, even app pool idle time-out was changed to 1140 but no luck.
Following is our web.config entries
<authentication mode="Forms">
<forms cookieless="UseDeviceProfile" loginUrl="~/Public/Login.aspx" name="PegasusCookie" path="/" protection="Encryption" requireSSL="true" timeout="60">
</forms>
</authentication>
<sessionState mode="SQLServer" sqlConnectionString="";Initial Catalog=ASPState" cookieless="false" allowCustomSqlDatabase="true" />
We expect that with the above setting the session should not timeout for atleast 60 minutes.
Can someone help us in resolving this issue?
Reply
Answers (
3
)
Loading up an External EXE Program into Memory and Run it
how to implement osm file in c#.net