Ajax and the Back button
Posted: Tue Dec 09, 2008 4:06 pm
Quick question...
I have created a custom pool builder in my store. In it, I am updating querystrings before doing partial postbacks in order to keep variables straight, like temporary basket id, the step I am on, etc.
The problem I am having now is this...
After the temp basket is added to the real shopping cart, if the customer hits the "back" button, the ajax page starts over from the first step (which wouldn't be bad), but stalls out the first time a new item is selected, due to a uninitialized object.
Now, this wouldn't be hard if somehow I could update client browser history to show the last step I left off on, or, if asp .net could recognize that the page was navigated to via the back button.
I am completely inexperienced in this particular problem. I just thought I would post it here in case anyone has had (and hopefully fixed) difficulties of this sort.
Here is a link to one of my pool builder pages. http://www.poolgeek.com/CategoryGrid2.a ... goryId=818
Thanks for any help you can give me!
Scott
I have created a custom pool builder in my store. In it, I am updating querystrings before doing partial postbacks in order to keep variables straight, like temporary basket id, the step I am on, etc.
The problem I am having now is this...
After the temp basket is added to the real shopping cart, if the customer hits the "back" button, the ajax page starts over from the first step (which wouldn't be bad), but stalls out the first time a new item is selected, due to a uninitialized object.
Now, this wouldn't be hard if somehow I could update client browser history to show the last step I left off on, or, if asp .net could recognize that the page was navigated to via the back button.
I am completely inexperienced in this particular problem. I just thought I would post it here in case anyone has had (and hopefully fixed) difficulties of this sort.
Here is a link to one of my pool builder pages. http://www.poolgeek.com/CategoryGrid2.a ... goryId=818
Thanks for any help you can give me!
Scott