File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Bookmarks in AJAX sites Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Bookmarks in AJAX sites" Watch "Bookmarks in AJAX sites" New topic

Bookmarks in AJAX sites

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
I am not working directly with Ajax bbut just curious about something.

In the Web 1.0 world, the back button was pretty easy. Simple fire the last URL get the last page. Now, in Web 2.0 (with lots of AJax) you can be on a page for 30 minutes and you hit the back button and instead of getting what you think is the last page, you leave the site completly.

My understandig is the Ajax solved this using # tags?


Is it that things after that # tag never gets sent to the browser, so the state of the web page is kept on the client side?

So when you hit the back button. the text after the # tag changes to what it was, and this is just interpretated client side?

Enlighten me!

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385

I agree. Here's the link:
subject: Bookmarks in AJAX sites
It's not a secret anymore!