Web13 Feb 2006 07:47 pm
JavaScript-only state information storage
Cookies are great and all, but I was thinking the other night that it would be nice if there was a way to store state purely in JavaScript land.
If only JavaScript needs them there really no reason to send bits of state back to the server, and you might imagine this sort of mechanism might even afford some small degree of privacy (though it wouldn’t be hard to write JavaScript to pass the info back I suppose).
Anyway, is there any such mechanism for storing state information which is preserved between pages (and browser sessions) but is only normally available to JavaScript?
Technorati Tags: javascript, ajax, web