UIO settings saved in the cookie are discarded once quit the browser
Description
The bug report from Jonny:
"On my site <http://abledaccess.com> when I change the display setting via uiOptions in the latest versions of Safari, Chrome, Opera and IE, then quit each browser, my settings I set have been reset. Same goes with your demo across said browsers, as well. I saw on Colin's computer this behaviour doesn't happen in Firefox, but it happens on my machine in Firefox, as well. But the reset did happen in Safari, Chrome and Opera on his computer. "
Environment
Safari, Chrome, Opera and sometimes firefox
Activity
Show:
Justin Obara June 10, 2015 at 5:53 PM
I'm not really sure what we want the default to be for the cookie expiration.
browser quit
some number of days
forever
etc.
and did you have any thoughts?
Cindy Li November 29, 2011 at 7:55 PM
The issue seems a result of our improper default value for the cookie "expiry" attribute, which is blank by default:
Expires : The date the cookie will expire. If this is blank, the cookie will expire when the visitor quits the browser.
So, a blank default apparently is not enough if what we meant is to keep the user-selected settings forever. We probably should consider to have a default expiry value of 50 years from now.
The bug report from Jonny:
"On my site <http://abledaccess.com> when I change the display setting via uiOptions in the latest versions of Safari, Chrome, Opera and IE, then quit each browser, my settings I set have been reset. Same goes with your demo across said browsers, as well. I saw on Colin's computer this behaviour doesn't happen in Firefox, but it happens on my machine in Firefox, as well. But the reset did happen in Safari, Chrome and Opera on his computer. "