Skip to content Skip to sidebar Skip to footer

Cannot Save Cookie With Jquery And Internet Explorer 9

it seems I'm not able to set a cookie on IE9 and I don't understand the cause. My goal is to set a cookie which expires after a year, and I'm using the following code $.cookie( nam

Solution 1:

I found that the problem seems to be tied to the Browser configuration. I've got a dive here:

  1. Open Internet Explorer 9
  2. Click on the Tools icon on the very right at the top and then on Internet Options.
  3. At the top switch to the tab Privacy and click on the Advanced button.
  4. Allow First-Party Cookies and Third-Party Cookies and enable Session Cookies.

All works fine now.

Could you confirm that there is nothing I can do about it but warn my users at most?

Post a Comment for "Cannot Save Cookie With Jquery And Internet Explorer 9"