0
我在Opera中有形式認證的問題。還有就是我的形式配置在Web.config中:歌劇需要長形式認證超時
<authentication mode="Forms">
<forms loginUrl="~/User/LogOn" timeout="30" slidingExpiration="true"/>
</authentication>
在這種情況下,在Opera我會被成功地記錄,但在同一時間,我會被重定向到「〜/用戶/登錄」行動吧!接下來的配置可以幫助我避免在Opera此行爲:
<authentication mode="Forms">
<forms loginUrl="~/User/LogOn" timeout="1000" slidingExpiration="true"/>
</authentication>
在這種情況下,所有工作正常,並通過認證我的其他行動。 30分鐘的暫停適合我。有誰能夠幫助我?