Problem with asp.net forms authentication in internet explorer -


My company is a web application hosted on a client's machine that uses form authentication in ASP.net. When an attempt is made to go to the website and authenticate on the login page, the user is redirected back to the login page. When authenticating it, it works fine and the user is able to access the site. We can not repeat this behavior in our development environment, so we are pretty sure that there is something with their server / environment in it.

The problem only occurs when Internet Explorer (6, 7, 8). Authentication works fine when the client tries to get it with Firefox.

I have created a debug page which redirects the logon page after calling FormsAuthentication.SetAuthCookie, which displays information about the authentication cookie. While hitting it in Internet Explorer, the authentication cookie does not exist. It does this while executing it in Firefox.

Is there any suggestion about whether someone has faced any kind of situation in this way or what could be the problem?

Edit:

Web .config

  & lt; Authentication mode = "form" & gt; & Lt; Form Name = ". ASPXAUTH" loginUrl = "Login.aspx" /> & Lt; / Authentication & gt; & Lt; Authority & gt; & Lt; Deny users = "?" / & Gt; & Lt; Allow users = "*" /> & Lt; / Authorization & gt; & Lt ;! - Page to display authentication cookie information - & gt; & Lt; Location Path = "AuthDebugPage.aspx" & gt; & Lt; System.web & gt; & Lt; Authority & gt; & Lt; Allow users = "?" / & Gt; & Lt; / Authorization & gt; & Lt; /system.web> & Lt; / Location & gt;  

LogOn.aspx.vb

  If (adAuth.IsAuthenticated (domain, txtUserName.Text.TextPassword.Text)) then the Boolean as AuthDebug = System. Configuration. configuration settings. App settings ("Ethodebub") if Aubutibbog then forms attestation. SetUse Cookie (SystemUsername, Fail) Response Redirect ("Ath Dubbing Page. Espacks") or other FormArmification. RedirectionFromline page (txtUserName.Text, False) End if end  

The administrator of your domain saw through group policy whether they were pushing anything to their nodes, But preventing them from accepting cookies and they could not find anything. He also took a machine from the domain and cleared all the group policies and still got the same problem certified in Internet Explorer.

I had this same problem when the server date / time was incorrect and the expiration date for AuthCookie is incorrect having had.

The server's date / time check is correct.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -