I've spent a lot more time researching this issue that I have with my ASP.NET "session" timing out. The reason I'm using "session" in double quotes is that I'm not sure if the issue is related to my Session timing out or my Forms Authentication.
The problem that I have is that I've set both the forms authentication cookie and the session state to timeout after one day (1,440 minutes), but it seems to be timing out after 20 minutes, which I understand to be the default.
In the web.config, I have
<sessionstate mode="InProc" cookieless="false" timeout="1440" />
and
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="1440" protection="All" defaultUrl="Default.aspx"/>
</authentication>
In the code behind of my login page, this is how I set my authentication cookie:
<br />
FormsAuthentication.SetAuthCookie("someValue", true);<br />
For testing purposes, I want my session to stay active for one day. When I inspect the authentication cookie on the client, the cookie information shows an expiration date that is exactly a day out from right now. I suspect that the Session is causing the issue, but why is my timeout value in the web.config being ignored?