trwd
asked on
Forms Authentication Requests Are Not Directed to login Url Page
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>
The web.config entry is below
<add name="AspNetSqlMembershipP
type="System.Web.Security.
connectionStringName="conn
enablePasswordRetrieval="f
enablePasswordReset="true"
requiresQuestionAndAnswer=
applicationName="/"
requiresUniqueEmail="false
passwordFormat="Hashed"
maxInvalidPasswordAttempts
minRequiredPasswordLength=
minRequiredNonalphanumeric
passwordAttemptWindow="10"
passwordStrengthRegularExp
</providers>
</membership>
<authentication mode="Forms">
<forms name=".VENDORAUTH" loginUrl="Login.aspx" path="/" timeout="30" protection="All" >
</forms>
</authentication>
<authorization>
<allow users="?"/>
</authorization>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
trwd - were you able to resolve it using above change?