Why are my forms authentication tickets expiring so fast?

前端 未结 5 2137
鱼传尺愫
鱼传尺愫 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:16

    This might help http://support.microsoft.com/kb/910439/

    My guess is that the cookie is expiring before the ticket. The above article shows you ways to debug to see if that is indeed the case.

提交回复
热议问题