Is it in minutes? It is in "2880", but this timeout is too short. Doesn't seem to be in minutes...
<authentication mode="Forms">
<forms loginUrl="~/Account/Login" timeout="2880" />
</authentication>
The amount of time in minutes after which the authentication expires. The default value is 30 minutes.
Form authentication is cookie based, as ASP.NET places a cookie in the client machine in order to track the user. If the user requests a secure page and has not logged in, then ASP.NET redirects him/her to the login page. Once the user is authenticated, he/she will be allowed to access the requested page.
<forms loginUrl="~/Account/Login" timeout="2880" />
FormAuthentication timeout is in minutes. 2880 means 48 hours.
Default is 30 minutes if you do not explicitly set it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With