Friday, August 26, 2005
AJAX: Internet Explorer Has Native Support for Persistence?!?!
"Persistence enables authors to specify an object to persist on the client during the current and later sessions using Dynamic HTML (DHTML) behaviors. Persistence allows Microsoft Internet Explorer 5 and later to retain Web page information, styles, variables, and state. For example, a collapsible list of links within a table of contents can remain expanded to the user's choice upon leaving and later returning to the page. Or, a search engine query form can retain the last-used search string.
Persistence is implemented as a behavior. The new persistence behaviors include:
- saveFavorite - persists page state and information when the web page is saved as a favorite.
- saveHistory - persists page state and information within the current session's memory.
- saveSnapshot - persists page state and information directly in the page when users save the Web page to their hard disk.
- userData - persists page state and information within an Extensible Markup Language (XML) store, a hierarchical data structure."
Check out this page, for example, which shows a demo for Internet Explorer that loads and saves permanent data into some kind of XML data store for web pages. This is crazy, and much better for storing permanent state, for Internet Explorer at least, then techniques I discovered this week.
I checked it in a local file, and after exceeding 64 KB (65506 characters to be exact) I got a "Disk is full" exception when trying to save.
Anyway, this is far more than what cookies offer. Thanks for the idea. I'll offer it to a customer who is desparately waiting for a solutions.
Thanks a million.
Johan, I don't plan on incorporating this into the AMASS framework, since the Flash one is more universal.
Subscribe to Post Comments [Atom]
Subscribe to Posts [Atom]