Samesite cookie not implemented in asp ne RRS feed

  • Question

  • User944339287 posted

    Hi guys.. session is no longer working in my asp.net web application when I added the following line to <system.web>
    I have tried change targetFramework to 4.7.2 also remained the same.

    My previous error as stated the following
    cookie "asp.net_sessionID" has been rejected because it is in a cross-site context and its "samesite" is "lax" or "strict"

    Any idea?

    <sessionState cookieSameSite="None" timeout="360"></sessionState>
    <httpCookies sameSite="None" requireSSL="false" />
    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />    

    Monday, September 28, 2020 9:01 AM

All replies