This topic has been archived. It cannot be replied.
-
工作学习 / IT杂谈 / Back, Back, Back, .... Jabber seeks your help!
-jabber(jabber);
2001-2-16
{2078}
(#26724@0)
-
Try there META tags. Hopes it is helpful.response.setHeader("Expires", "Thu, 01 Jan 1901 00:00:00 GMT");
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control","no-cache");
response.addHeader("Cache-Control","no-store");
-bloor(bloor);
2001-2-16
{220}
(#26728@0)
-
Thank you, bloor. Your trick applies to proxy ONLY, not to Browser.I am considering using JavaScript to manupilate Cookies on the client -site.
If you keep an eyes for the issue I cited here, you will see that some commercial sites have not taken care of this problem. Alas.
-jabber(jabber);
2001-2-16
{213}
(#26735@0)
-
The Meta tags of setting "expire" and "no-cache" do work. I used that kind of method before, no matter using proxy or not.
-sailor(Sailor);
2001-2-16
(#26746@0)
-
Dear Sailor, thanks for your response.I guess you have overlooked my issue. What I meant by "Back" is
clicking "Back" button on the menu bar of the browser.
-jabber(jabber);
2001-2-16
{126}
(#26779@0)
-
I did meet the same problem as yours, ecommerce shopping site, and no back button.....
-sailor(Sailor);
2001-2-16
(#26788@0)
-
My two centsI used to have the same problem in my former projects. I remember the best solution that we found finally is to use a tranfer page between page A and page B. Then you can easily get the source of the request if it's from A or B and give response respectively.
-peterlf(fromZtoA);
2001-2-16
{260}
(#26756@0)
-
Thanks, Peter. Likewise, I guess you misundertood my issue. As the user cliks the "Back" button on the menubar of the browser, he/she see the cach in the browser.
-jabber(jabber);
2001-2-16
(#26785@0)
-
Try. Your requirement: Don't want to show the Page A again after the order has been placed.Your requirement: Don't want to show the Page A again after the order has been placed.
Solution:
Please try location.replace() in JavaScript.
If you use location.replace("URL of page B") in the page A to open the page B, the URL of page A will not appear in the history list of the BACK button on the menubar of the browser, so user
can not return to the page A from the page B by click the BACK button.
-old(HH);
2001-2-16
{411}
(#26861@0)
-
HH has saved me. Merci Beaucoup!
-jabber(jabber);
2001-2-19
(#27219@0)
-
De Rein! (After visited 3 public libraries and looked through several huge dictionaries.)
-old(HH);
2001-2-24
(#28338@0)
-
De rien! De rien! De rien! De rien! :-) :-) ;-;-):
-jabber(jabber);
2001-2-24
(#28339@0)
-
Sorry! De rien! De rien! De rien! De rien! De rien! De rien! De rien! De rien! De rien! ... Remember in my heart.
-old(HH);
2001-2-24
(#28343@0)