Cookie Session not works on IE8
I'm developing an ASP.net application that shows a message that can be minimized, maximized or close. These functionality must be maintain while browser is open. When user open a new browser the message will be shown as it's inital state.
Cookies are chosen to store the user election: minimized, maximized or closed. I used jQuery and jQuery.Cookie to manage this, but I c开发者_如何转开发an't create session cookies that only stores while browser is open. All cookies I create are persistent. How can do that using this plugin of jQuery?
This line of code is an example of how I set the cookie:
$.cookie(cookieName, 'Minimized', { path: '/' });
As you can show on the title of the question, I need that this work on IE8 (other browsers are not supported).
Thanks in advance.
精彩评论