Alright experts, I dont know why this is not working. Its 10 after 1am and I need some help. I am implementing forms authentication. I have specified the loginURL, authentication cookie name and path. I however cannot get my pages protected. Somehow the redirection to the login page would not work. I just dont know help me figure this out.
The web.config entry is below
<add name="AspNetSqlMembershipP
rovider"
type="System.Web.Security.
SqlMembers
hipProvide
r"
connectionStringName="conn
string"
enablePasswordRetrieval="f
alse"
enablePasswordReset="true"
requiresQuestionAndAnswer=
"false"
applicationName="/"
requiresUniqueEmail="false
"
passwordFormat="Hashed"
maxInvalidPasswordAttempts
="5"
minRequiredPasswordLength=
"1"
minRequiredNonalphanumeric
Characters
="0"
passwordAttemptWindow="10"
passwordStrengthRegularExp
ression=""
/>
</providers>
</membership>
<authentication mode="Forms">
<forms name=".VENDORAUTH" loginUrl="Login.aspx" path="/" timeout="30" protection="All" >
</forms>
</authentication>
<authorization>
<allow users="?"/>
</authorization>
Start Free Trial