Is there any way to have some persistent data (like an XML file or so) apart from cookies at client side? I know that\'s not possible with JavaScript directly. But any other
The latest browsers are supporting HTML5 Local Storage.
If the client doesn't support HTML 5, the Google Gears plugin allows local storage.
We have been using YUI's local storage wrapper without any issue for quite some time. The library automatically uses best available storage option and supports almost all browsers; IE6+, Firefox2.0+, and newer Safari, Chrome and Opera.
If cookies won't suffice, and you have to support older browsers, then LawnChair might help: http://brian.io/lawnchair/plugins/
It's like a "Couch" but smaller, get it? Took me a few minutes ;).
And, it does work for desktop browsers, despite the blurb on the site about mobile-webkit: https://github.com/brianleroux/lawnchair/blob/master/README.md.
(But, it uses cookies as the adapter to store data for the fallback on those older browsers, most such libraries probably will, if you're not allowed to use cookies for some reason, these types of libraries might not fit the bill.)
I happened to stumble across this Wiki page that lists down a lot of persistent JS stores : https://github.com/bebraw/jswiki/wiki/Storage-libraries
HTML5 local storage
If you're working in Google Chrome, FSO.js wraps the asynchronous FileSystem API for you and is very easy to use.
This technology should be supported by other browsers soon.