Hello

I've used the j-query-cookie plug-in on my site home page to manage the display of a message in a modal window.

I have set the cookie to expire after 365 days - seems to work on FF, Opera and Chrome - (in that it doesn't appear if I close and reopen the browser) but not IE9. (The modal window appears every time I close and reopen the browser.)

I wonder if anybody has any ideas why this might be the case.
Many Thanks

I have as follows

Code:
jQuery(function ($) {
 if ($.cookie('modal') != 'shown') 

{

 // SET THE COOKIE FOR 365 DAYS
 $.cookie('modal', 'shown', { expires: 365 });
 

 // Load dialog on page load
 $('#basic-modal-content').modal();

 // end cookie if
 }

});