Last post Oct 07, 2016 03:19 AM by Chris Zhao
Oct 06, 2016 09:25 AM|danishdotnet|LINK
I have asp.net web application which is run on local server perfectly but when I deployed it on live server it will redirect to Default.apx page means do Logout. But same application work properly on local server. So please give me suggestions for this
problem as soon as possible.
Oct 07, 2016 03:19 AM|Chris Zhao|LINK
Reasons for a request to get redirected to login.aspx page
The forms authentication cookie is lost.
A user logs on to the Web site. At some point, the client sends a request to the server, and the FormsAuthenticationModule class does not receive the cookie.
The forms authentication cookie can also be lost when the client's cookie limit is exceeded. In Microsoft Internet Explorer, there is a limit of 20 cookies. After the 20th cookie is created on the client, previous cookies are removed from the client's collection.
If the .ASPXAUTH cookie is removed, the user will be redirected to the login page when the next request is processed.
After the request leaves the client, there are various layers that can affect the packets that are being sent. To determine if a network device is removing the cookie, you have to capture a network trace on the client and the server, and then look in the
body of the request for the cookie. You want to look at the client request to make sure that the cookie was sent, and check the server trace to make sure that the server received the cookie.
The forms authentication may time out before the timeout attribute value that is set in the configuration file.
#Troubleshooting Forms Authentication