Session Doesn't Work in Generic Handler.ashx in Firefox

I created .ashx that implemented IRequiresSessionState, so I can create session variables in this ashx, it worked in IE, but it does not work in Firefox. When accessing this session variable from other pages, it is NULL.

any idea? THX

+3
source share
2 answers

You may not allow cookies in Firefox. Check this! If you do not want to enable cookies, enable a cookieless session.

+1
source

Make cookies included in web.config

<system.web>
<sessionState cookieless="true"></sessionState>
</system.web>
+1
source

Source: https://habr.com/ru/post/1743180/


All Articles