2016-08-25 106 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保持運行,這讓我覺得什麼是錯的,爲什麼它花了那麼多時間!我發現了遞歸。