locked
Old app - web forms - uses targetFramework="4.5", issues with passing data RRS feed

  • Question

  • User997627117 posted

    We have an ancient.NET website that that uses .NET Framework 4.5, one part of the site is basically a form. With it, looks like there is an issue with the cookies - the data that is pulled from the server isn't showing up in the cookies, thus causing the form to redirect to the main page and not submitting the form as anticipated when using browsers like Chrome and the newest Edge.

    I'm looking at the set-cookies in the response header of the form, and am seeing an issue that because of the samesite=none, we need to add the attribute, 'secure' to the header. My research indicates that it isn't available for the version we're using, we have to upgrade to 4.7.2 (which I am hoping to avoid). What are our options?

    From our web config file

        <sessionState cookieless="UseCookies" mode="InProc" timeout="60"></sessionState>
        <httpCookies httpOnlyCookies="true" requireSSL="true" />

    Wednesday, October 21, 2020 7:12 PM

All replies