开发者

Cookie Session not works on IE8

开发者 https://www.devze.com 2023-02-06 17:42 出处:网络
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 mess

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消