Why are my forms authentication tickets expiring so fast?

前端 未结 5 2153
鱼传尺愫
鱼传尺愫 2021-02-08 14:26

I\'m using forms authentication in an ASP.NET application. I configure the FormsAuthenticationTicket to expire in 1 year but it actually expires after 1 hour or so.

5条回答
  •  一整个雨季
    2021-02-08 15:21

    Are you using anything else in your application that might cause a timeout? Automatically logging you out if in-proc session states expire for example.

    I assume you've got some code in your Global.asax to process the authenticated request too?

提交回复
热议问题