File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Bookmarks in AJAX sites" Watch "Bookmarks in AJAX sites" New topic
Author

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?

How?

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!

Cheers
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history
http://code.google.com/web/ajaxcrawling/docs/specification.html

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bookmarks in AJAX sites
 
Similar Threads
Form Variables
How to link JSp With Javascript
built a program that can directly run in the same page
Technology stack problem(jquery,struts,spring,hibernate)
action form values not retaining on back button