Got Web Ideas? Fishing for the Answers?
Think Outside The Code First!
Facts, Thoughts, and Opinions About Web Development and Business Strategy
Home Internet FAQ About OTC Contact Us Development & Consulting
Chain Pickerel, Canadice Lake, New York, September 2006
AJAX and the Back Button
Rob Taylor, Independent Developer & Consultant, TConsult, Inc. www.enginesforwebsites.com
Friday, July 25, 2008
Target Topic: Back button issues with AJAX, a fix for .NET people, and some thoughts. Factual and opinionated.

Some say that AJAX breaks the back button. Technically, it does not break it. It just stops it from returning to the proper index when going back to a paged result of record sets or other multi-step AJAX feature. Depending on the nature of your Website, this may or may not be a high concern for you.

Microsoft has a fix for the back button, which is in beta, that will allow a developer to write a record to the user's browser history. It is called .NET Futures Release. You can use it now but it may change before it's official release. I have played with it a little. I almost have it working but not quite. Right now I am not too interested in the coding overhead the current model requires. It could be much simpler and I think it will be.

I do not know what is available for this issue in non-Microsoft circles.

Those looking to implement AJAX should be aware of this issue and also be aware that .NET has a solution for it.

Personally, I am not too concerned about this issue for my own sites. Although, I will be installing the .NET back button feature once I have it working. Given a content driven Website, you almost have to have it.

If someone views my home page, scrolls through the list of news items without clicking on anything, and then hits their back button it will take them back to the previous Website they were on. I do not believe this happens very often and my stats show most people click on a handful of pages when they are there. But I am sure it happens every now and again.

This is kind of where you have to pick your poison. Are the few occurances of that happening more important than using AJAX on my home page to monetize Google AdSense? Right now I think AJAX is helping with the campaign. You have to give something to get something.

BUT, I question the longevity of the back button in browsers simply because I believe Websites and browsers are going to go through many changes in the next couple of years.


More
Heavily Data-Driven Classic ASP Websites - Should You Still Upgrade? Thursday, July 17, 2008
Web Design - Let Your Content Take You There Wednesday, July 16, 2008
The Best FREE Textbox Editor on the Market Sunday, July 13, 2008
Mixed Bag Development Friday, June 20, 2008
Does the Cutting Edge Cut-Out End Users? Thursday, April 03, 2008
Why Most Web Development is Done Backwards Tuesday, March 25, 2008
Web 2.0 = Internet Users 2.0 Monday, March 17, 2008
Design Width: Fixed Width or Play the Percentages? Wednesday, February 27, 2008
Don't Plan On Going Overboard With Design Tuesday, February 26, 2008



Customized Internet Solutions for Small Businesses and Corporations.
www.enginesforwebsites.com


© 2008 TConsult, Inc. - Engines for Websites
www.enginesforwebsites.com