Bookmark Control Example

Demonstrates the use of Bookmarks storage in a cookie.

This demonstrates use of the Bookmarks storage in a Cookie.



Use these links to test the navigation. If nothing happens when you click, that
bookmark is no longer defined or not found.

Click here to go to Atlanta or here to go to Boston.

Testing process

When you first load, two bookmarks are created.
  1. Click "Show Stack" to view them.
  2. Click "Cookie Status" to see if a cookie has been previously defined.
    If not, you should see false.
  3. Click "Store Stack".
  4. If yes, you should see the contents as a string.
  5. You can close your browser and revisit this page.
  6. Upon returning, click "Clear Stack" to remove all bookmarks.
  7. Click "Load Cookie" to repopulate the stack. Navigation should function normally.
  8. Remove the cookie with "Clear Cookie".