This is a re-post. I have tried all I can but still the user gets redirected to the login screen after twenty minutes. Not the value I set in my web.config, machine.config file, IIS.
Web.Config
--------------------
<forms loginUrl="sampleloginpage.
aspx"
name="samplecookie"
timeout="45"
path="/"
requireSSL="true"
protection="All">
</forms>
<sessionState
mode="InProc"
stateConnectionString="tcp
ip=127.0.0
.1:42424"
cookieless="false"
timeout="45"
/>
(And that makes me realize another thing. On my development server when I run the site on localhost there is no SSL even though I have the setting 'requireSSL' = true. Hmm how does that work?)
And in IIS I change the session timeout setting by going to:
'Configuration' Button -> 'Options' Tab -> Tick Enable Session state
then increase value from default 20 mins to 45. I also increase the connection timeout setting from 900 to 2700(45 mins) seconds to see if that makes a difference but guess what? It doesn't :|
Start Free Trial