2

Is it possible to clear the browser's cookie on Session_End? Given that there is no Context, no Request and no Response?

Also, it is not possible to put the values on the session instead of in the cookies. This is being done by a third party application.

Edit: I forgot to mention that the site is using SSO. And the cookie that I am trying to access is the SSO cookie.

Ray
  • 627
  • 1
  • 7
  • 19

1 Answers1

3

No, you cannot do anything to the cookies in Session_End as that is called asynchronously by the server after a timeout. At that point there is no ongoing http request from the web browser, so there is no open communication channel to the browser.

Anders Abel
  • 67,989
  • 17
  • 150
  • 217