Carson
Carson

Reputation: 17741

Can I persist application data via Javascript between browsers?

I'd like to persist a list of favorited items for all browsers on the user's machine.

Cookies are too volatile, and localStorage, while useful, does not move between browsers.

Are Flash's Local Session Objects my best bet?

Thanks!

Upvotes: 0

Views: 221

Answers (1)

Interrobang
Interrobang

Reputation: 17434

Yes, absolutely. Because Flash persists data outside the of the normal browser storage mechanism, it's the only sane way to try to persist data across a reasonable spectrum of browsers.

http://www.nuff-respec.com/technology/cross-browser-cookies-with-flash

This link explains how to set a shared object in Flash, and then retrieve it with Javascript.

Upvotes: 1

Related Questions