Browser back button issue

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
MMIKAL
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 32
Joined: Thu Mar 11, 2010 9:30 am

Browser back button issue

Post by MMIKAL » Wed Aug 25, 2010 11:27 am

Hi Guys

If users select a product from a sub category, it shows the product's detail page. Now if the user wants to go back and view another product from
the same sub category and click Browser's Back button, they do not end up in the same page or subcategory.

I checked the forum and there was a few old posts, but there was not really a solution.

I was wondering if anybody has working solution for this.

Thanks in advance.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Browser back button issue

Post by mazhar » Wed Aug 25, 2010 11:50 pm

This is due to use of AJAX in category pages. Actually browser creates history for full post backs only and doesn't know any thing about partial post backs. When some one reaches the category page then browser creates one history entry for that page. Then for all further narrowing on category page which is done through AJAX calls there is no history. Finally when some goes to a product details page then it creates one more history entry because its a full post back again. In this case if some one clicks on back link then browser tries to locate the previous available history URL and it would be the first category page no information about further AJAX based filtering you done on that page.

Here is a topic about enabling history for back button with AJAX enabled. You may try to something similar with category page.
http://www.codeproject.com/KB/ajax/Brow ... nable.aspx

brentw22
Ensign (ENS)
Ensign (ENS)
Posts: 1
Joined: Wed Dec 01, 2010 4:38 pm

Re: Browser back button issue

Post by brentw22 » Thu Dec 02, 2010 6:24 pm

Any update on this? What is the solution? Any feedback is welcome. Please. :D

Post Reply