Session variable changes from one page to the next in firefox
I am building the site http://www.carpet-n-rug-cleaning.com and i set the preferred service area using a session. If you visit the site and goto the service areas page select a service area and the swithch between the home page and any other page the preferred area changes. this only occurs in firefox and only when going from the localized home page to another page. Thanks in advance. http://www.dominanrt-domains.com
由mplysiak于
被采纳的解决方案
I found that the issue was with the fire fox prefetch. I added the following to my htaccess file to fix it:
RewriteEngine on
RewriteCond %{HTTP:X-moz} prefetch
RewriteRule . . [F,L]
所有回复 (2)
It stays the same for me.
When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
(1) Bypass Firefox's Cache
Use Ctrl+Shift+r (Mac: Cmd+Shift+r) to reload the page fresh from the server.
Alternately, you also can clear Firefox's cache completely using:
(WIN) orange Firefox button (or Tools menu) > Options > Advanced
(MAC) Firefox menu > Preferences > Advanced
On the Network mini-tab > Cached Web Content : "Clear Now"
If you have a large hard drive, this might take a few minutes.
(2) Remove the site's cookies (save any pending work first). While viewing a page on the site:
- right-click and choose View Page Info > Security > "View Cookies"
- Tools menu > Page Info > Security > "View Cookies"
Then try reloading the page and test again. Does that help?
选择的解决方案
I found that the issue was with the fire fox prefetch. I added the following to my htaccess file to fix it:
RewriteEngine on
RewriteCond %{HTTP:X-moz} prefetch
RewriteRule . . [F,L]