2016-08-25 109 views
0

我使用ASP.NET State Server,在使用该网站,下面的消息出现偶尔ASP.NET状态服务器挂

的网页没有正确重定向

的Firefox已经检测到服务器重定向以永不完成的方式请求 此地址。

This problem can sometimes be caused by disabling or refusing to accept cookies. 

只要ASP.NET State Server服务重新启动它得到固定的,当然所有会话被杀害。 如果使用In-Proc,则不会发生这种情况。 可能是什么原因?

+0

你得到了什么错误? – Webruster

回答

0

试试这个:

<httpCookies httpOnlyCookies="true" lockItem="true" /> 
    <trace enabled="false" localOnly="true"/> 
<sessionState cookieless="UseCookies" regenerateExpiredSessionId="true"/> 

<authentication mode="Forms"> 
    <forms loginUrl="~/Account/Login" timeout="30" slidingExpiration="true" /> 
</authentication> 
0

解决了,我被困在一个递归。

而有趣的是,FireFox并没有让我知道,因为FF正在终止请求并返回错误。虽然,Internet Explorer保持运行,这让我觉得什么是错的,为什么它花了那么多时间!我发现了递归。