Hi, I am using forms authentication. My web.config file contains this:
<authentication mode="Forms">
<forms loginUrl="Login.aspx" defaultUrl="LeaseTracker.aspx" protection="All" timeout="30" slidingExpiration="true"/>
</authentication>
<authorization>
<deny users="?"/>
</authorization>And the login includes this:
FormsAuthenticationTicket formsAuthenticationTicket =
new FormsAuthenticationTicket(1, userName, DateTime.Now, DateTime.Now.AddMinutes(30),
_isPersistent, userData, FormsAuthentication.FormsCookiePath);
Response.Cookies.Add(new
HttpCookie(FormsAuthentication.FormsCookieName,
FormsAuthentication.Encrypt(formsAuthenticationTicket)));
Response.Redirect(FormsAuthentication.GetRedirectUrl(userName, _isPersistent));
Any ideas on why it would be ...
Go to the complete details ...