nill nill - 3 days ago 4
ASP.NET (C#) Question

What is unit of Forms Authentication timeout in Asp.net?

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>

Win Win
Answer
<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.

Comments