G
Guest
I have a login page which requires all users to login everytime they visit,
the remember me feature isn't working. We all have cookies and js enabled.
Any suggestions on how to diagnose this?
My login aspx:
<asp:Login ID="Login1" runat="server" BackColor="#FFFFCC"
BorderColor="#5400A8" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px"
Font-Names="Verdana,Arial" Font-Size="12px" ForeColor="#333333"
MembershipProvider="myMembershipProvider" PasswordRecoveryText="Can't
remember your password?" PasswordRecoveryUrl="PwdRecovery.aspx"
Height="150px" Width="245px"> <TitleTextStyle BackColor="#5400A8"
Font-Bold="True" Font-Size="14px" ForeColor="White" />
<InstructionTextStyle Font-Italic="True" ForeColor="#5400A8" />
<TextBoxStyle Font-Size="14px" />
<LoginButtonStyle Font-Names="Verdana" Font-Size="12px" ForeColor="#5400A8" />
My web config:
<authentication mode="Forms" >
<forms name="CCAuth"
loginUrl="myLogin.aspx"
timeout="20"
slidingExpiration="true"
cookieless="AutoDetect"
protection="All"
requireSSL="false"
enableCrossAppRedirects="false"
defaultUrl="default.asp"
path="/" />
</authentication>
<membership defaultProvider="myMembershipProvider">
<providers>
<add name="myMembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="myDB"
applicationName="/"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Hashed"
minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="0"
maxInvalidPasswordAttempts="10" />
</providers>
</membership>
the remember me feature isn't working. We all have cookies and js enabled.
Any suggestions on how to diagnose this?
My login aspx:
<asp:Login ID="Login1" runat="server" BackColor="#FFFFCC"
BorderColor="#5400A8" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px"
Font-Names="Verdana,Arial" Font-Size="12px" ForeColor="#333333"
MembershipProvider="myMembershipProvider" PasswordRecoveryText="Can't
remember your password?" PasswordRecoveryUrl="PwdRecovery.aspx"
Height="150px" Width="245px"> <TitleTextStyle BackColor="#5400A8"
Font-Bold="True" Font-Size="14px" ForeColor="White" />
<InstructionTextStyle Font-Italic="True" ForeColor="#5400A8" />
<TextBoxStyle Font-Size="14px" />
<LoginButtonStyle Font-Names="Verdana" Font-Size="12px" ForeColor="#5400A8" />
My web config:
<authentication mode="Forms" >
<forms name="CCAuth"
loginUrl="myLogin.aspx"
timeout="20"
slidingExpiration="true"
cookieless="AutoDetect"
protection="All"
requireSSL="false"
enableCrossAppRedirects="false"
defaultUrl="default.asp"
path="/" />
</authentication>
<membership defaultProvider="myMembershipProvider">
<providers>
<add name="myMembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="myDB"
applicationName="/"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Hashed"
minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="0"
maxInvalidPasswordAttempts="10" />
</providers>
</membership>