Location of data persistence Data associated with How it works
In the current session's memory the saveHistory method The saveHistory Behavior stores information within the link to a Web page saved as a favorite.
In the browser's Favorites the saveFavorite method The saveFavorite Behavior works like saveHistory, storing information within the browser session's memory stream.
In HTML the saveSnapshot method The saveSnapshot Behavior writes information directly into an HTML file when it is saved to disk.
In XML the userData method The userData Behavior stores information in an XML structure.
Table 1 Data Persistence. You can persist form data, styles, state, and script variables in these four ways.