Brad Neuberg and O’Reilly OnJava.com have a nice pice on handling bookmarks and back buttons in an ajax environment.
They describe The Problem:
Bookmarks and the back button work great for traditional, multi-page web applications. As users surf websites, their browsers’ location bars update with new URLs that can be pasted into emails or bookmarked for later use. The back and forward buttons also function correctly and shuffle users between the pages they have visited.
This is interesting – they use the Really Simple Histroy Framework, which is new to me:
Really Simple Histroy in a nutshell:
The Really Simple History (RSH) framework makes it easy for AJAX applications to incorporate bookmarking and back and button support. By default, AJAX systems are not bookmarkable, nor can they recover from the user pressing the browser’s back and forward buttons. The RSH library makes it possible to handle both cases.
Read the full article / tutorial here.