[問題] ASP Login控制項

作者: unstoppable (BEN)   2017-08-21 19:03:16
登入的頁面為Index.aspx
使用者透過radiobutton來選擇不同的登入層級
當地一次訪問www.mywebsite.com的時候
網站會跳轉到www.mywebsite.com/Index.aspx?ReturnUrl=%2f
也可以登入
但是我如果再次訪問www.mywebsite.com就會出現500錯誤
架設在自己的電腦一切都正常
以上的問題是放到azure上面後發生的
查了LOG錯誤訊息是
Forms authentication failed for the request. Reason: The ticket supplied has
expired.
我不需要再重新導回登入後的頁面
只需要能夠導回到Index.aspx
請問我該怎麼處理呢? 感謝
抱歉,補充config
<authentication mode="Forms">
<forms loginUrl="Index.aspx" name=".ASPXFORMSAUTH"/>
</authentication>
作者: wezmag (wezmag)   2017-08-22 08:21:00
可以貼web.config FormsAuthentication區段看看嗎?

Links booklink

Contact Us: admin [ a t ] ucptt.com