I have my site up and running just fine using the kit.
My question is, when you click on the check box to stay logged in, is their a way to extend the amount of time that you stay logged in for. My client would like something like an hour.
I have my site up and running just fine using the kit.
My question is, when you click on the check box to stay logged in, is their a way to extend the amount of time that you stay logged in for. My client would like something like an hour.
Yeah, you set this in your Forms timeout in the web.config
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880"/>
</authentication>
Which is currently set to 48 hours (2880/60).
Change it to 60 if you'd like an hour. Although, something much longer would be more appropriate.
Try to increase authentication/forms/timeout
value in web.config:
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="60"/>
</authentication>
Specifies the time, in integer minutes, after which the cookie expires. ... The default is "30" (30 minutes).