I have the following config in an attempt to allow the session to be retained for around 239 minutes, however the session is lost in less than an hour.
<system.web>
<sessionState mode="InProc" timeout="240" />
<compilation debug="true" targetFramework="4.0">
<assemblies>
...
</assemblies>
</compilation>
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="239" />
</authentication>
<pages>
<namespaces>
...
</namespaces>
</pages>
I don't believe there to be any C# code overriding these settings.
Does anyone know why this might be happening?