How to configure Form Authentication in asp.net 2.0?

Here is the sample code to do Form Authentication in Asp.net 2.0.

<authentication mode="Forms">

<forms name="APMSAuth"

defaultUrl="~\LoginSuccess.aspx"

path="/"

loginUrl="login.aspx"

protection="All"

timeout="30" />

</authentication>

No comments: