javascript - Neither cookies nor HTML5 local storage working in anything except Chrome -


i'm working on javascript-driven tool store user's selections locally , repopulate when page next navigated to. it's working fine in chrome not @ in ie8 or safari.

i've tried store information in cookies using standard javascript, , using jquery.cookie.js plugin, , more i've tried using local storage instead. i'm storing lump of xml, theory perhaps it's large store in cookie, there's no way it's large local storage.

i'm testing on local iis under localhost. can think of reason why other browsers aren't working? i'm finding strange affects both cookies , local storage. can think it's kind of security setting that's restricting kind of local storage, cookie or otherwise.

i've played around settings in ie, settings in iis, can't work out. thoughts or ideas welcome!

regards,

matt

is xml in string, or in object dom reference? believe ie8's localstorage can take strings keys , values...or primative values can automatically cast string...so you'll have stringify object.

if you're worried size constraints in ie8, check value of localstorage.remainingspace (ie-specific property).

i'm not sure why safari isn't working if works in chrome. maybe can take strings too.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -