Firefox中的网页没有正确重定向 [英] Firefox The page isn't redirecting properly
问题描述
当我去我的 asp.net-MVC-3 网站我得到在Firefox这个错误。有问题的网页是一个登录界面。
页面没有正确重定向
火狐已检测到服务器重定向的请求
这个地址的方式,将永远不会完成。
此问题有时可以通过禁用或拒绝所致
接受Cookie。
块引用>镀铬说
该网页包含重定向循环在已经导致该网页
过多的重定向。清除该网站的Cookie或允许
第三方Cookie可能会解决这个问题。如果不是,它可能是一个
服务器的配置问题,而不是你的电脑出了问题。
块引用>以下是一些建议:
稍后重新载入此网页。
详细了解此问题。为什么这可能是这样吗?重装了几次后,问题不会消失。
解决方案打开Fiddler (下载)看看的请求,你会发现HTTP重定向的一些数,那么浏览器就会停止,并显示这些消息。您需要调试应用程序,也许这是一些交叉重定向,自定义返回URL的逻辑或其他任何东西,没有code很难明白是怎么回事。
When I go to a particular url on my asp.net-mvc-3 site I get this error in Firefox. The page in question is a login screen.
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies.
Chrome says
This web page has a redirect loop The web page at has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
Here are some suggestions: Reload this web page later. Learn more about this problem.
Why might this be happening? After reloading a couple of times the problem does go away.
解决方案Open Fiddler (download) and look at requests, you will find some count of HTTP redirects, then browser will stop and show such messages. You need debug your application, maybe this is some cross redirects, custom return url logic or anything else, without code it's hard to understand what is going on.
这篇关于Firefox中的网页没有正确重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!