Failing_Solutions Posted March 11, 2012 Share Posted March 11, 2012 Ref Site: www. rubberstore .com A new problem has come up with a recent upgrade to the latest Firefox. The problem which used to be exclusive to IE 7/8 was when you use the ProductSearch on the bottom of the page hit the search then you use the browsers "Back" button the page shows expired. Which forces you to refresh then retry to get the page to reload. We fixed the problem in the past for IE by including BrowserMatch MSIE force-no-vary #in our htaccess But there doesn't appear to be an equivalent statement for Firefox. We also have a page dedicated for ProductSearch, which we were able to use cache private to prevent the problem, however on our homepage (index.php) this is not an option because this page does so many other things. Has anybody found a way around this issue with FireFox? Please let me know if my question and issue aren't clear, thank you! Quote Link to comment https://forums.phpfreaks.com/topic/258667-firefox-goes-the-way-of-ie-need-some-help/ Share on other sites More sharing options...
xyph Posted March 11, 2012 Share Posted March 11, 2012 You want to use a Post/Redirect/Get http://en.wikipedia.org/wiki/Post/Redirect/Get Alternately, you can simply use a GET method in your search form. Because there is no post data to 'expire,' you should be able to avoid that message. Quote Link to comment https://forums.phpfreaks.com/topic/258667-firefox-goes-the-way-of-ie-need-some-help/#findComment-1326025 Share on other sites More sharing options...
Failing_Solutions Posted March 12, 2012 Author Share Posted March 12, 2012 Hi Xyph, I appreciate you taking the time to reply. Its a tough one for me, because I'm working inside oscommerce and have to be senstive to its requirements. I am already posting the form from the index page to the actual product search page, so unfortuantely I can't just use $_GET. The results from the selections on the page are passed to the product search page for SEO purposes, we don't want a bunch o random stuff getting seen on our Index page so we pass it to the product searh page, which isn't a SEO page rather a functionality page. T I was hopeing there was a Firefox equivlent to the .htaccess fix for IE that would prevent this. On our site the only time a duplicate post would matter would be in our checkout which is HTTPS so I can put a port check on the statement.... Thanks again, I'll keep digging. Quote Link to comment https://forums.phpfreaks.com/topic/258667-firefox-goes-the-way-of-ie-need-some-help/#findComment-1326486 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.