formsauthentication

What could cause ASP.NET FormsAuthentication Cookie problems apart from cookies being turned off?

People are reporting having trouble logging into one of our ASP.NET sites. When I check the IIS logs, it looks like the FormsAuthentication cookie is not being cached by their browsers after they log on. I don't think its as simple as 'user has set their browser to not accept cookies' because: a) If cookies in general weren't working fo...

FormsAuthentication isn't preserving the UserData field after Postback in .NET 3.5

I've created a FormsAuthenticationTicket from scratch, but found that when retrieving it at a later time, the UserData isn't coming back. Here is the code used: FormsAuthenticationTicket ticket = new FormsAuthenticationTicket( 1, user.UserId, DateTime.Now, ...

ASP.NET MVC Forms Authentication Remember Me

I have an ASP.NET MVC2 application, and I'm using FormsAuthentication to manage the Auth Cookie. When the cookie expires and the page is access, I need to display the Username in the field and the Remember Me checked. How can I do this once the cookie expired and I don't have access to it? ...

FormsAuthentication: how to specify different cookie names for specific subdirectories/MVC controllers?

I'm using FormsAuthentication (with cookies) for users authentication, with the default cookie name (".ASPXAUTH"). What I need is a different login system for the "/Admin/" virtual directory (backed by an ASP.NET MVC controller, "AdminController")... as if the "/Admin/" directory was another web application, but without creating another...

Exception ThreadAbortException on RedirectFromLoginPage

Hello people ! I'm having some trouble when people try to log on my system in IE8. Before tomorrow everything is fine, but now when they try to log on the line who call RedirectFromLoginPage method throws ThreadAbortException exception. After some investigating i found that if i change createPersistentCookie to false they can log norma...