Explained: Forms Authentication in ASP.NET 2.0
October 13th, 2009
No comments
I needed to know this early today because I’m writing an auto-login
routine for our portal. It’s good to know what the default values are and what they mean,
so I’m including this here as a quick reference for the future:
The default attribute values for forms authentication are shown in the following configuration-file fragment.
<system.web>
<authentication mode="Forms">
<forms loginUrl="Login.aspx"
protection="All"
timeout="30"
name=".ASPXAUTH"
path="/"
requireSSL="false"
slidingExpiration="true"
defaultUrl="default.aspx"
cookieless="UseDeviceProfile"
enableCrossAppRedirects="false" />
</authentication>
</system.web>