Asp.net forms authentication cookie not honoring timeout with IIS7

后端 未结 5 1690
别跟我提以往
别跟我提以往 2020-12-07 17:14

Authentication cookies seem to timeout after a short period of time (a day or so). I am using Forms Authentication and have the timeout=\"10080\" with slidingExpiration=\"fa

5条回答
  •  暖寄归人
    2020-12-07 17:47

    Set session state configured in IIS as In Process Use Cookies Time out = your required time Use hosting identity for impersonation

    Also set EnableSessionState to true (which is default too)

    And most importantly run the app pool in classic mode.

    Hope your problem will solve.

提交回复
热议问题