Can't reset cookie
Hi,
I'm using a WordPress plugin to show an interstitial pop-up as visitors come to my site. It has been working in Firefox and all other browsers until today. Today, the cookie for the plugin is timing out appropriately in all browsers except Firefox.
If I clear the site cookie, the plugin displays. But if I close the site tab, and close Firefox, then wait X seconds (longer than the cookie expiration clock), the site no longer shows the plugin/pop-up again. (Using other browsers I am having no problems.)
I have cleared all cookies, cleared the cache, disabled and re-abled the plugin, changed settings in the plugin, and otherwise tried lots of stuff, but I cannot get the cookie to expire as it was before.
Ideas?
모든 댓글 (3)
Can you post a link?
Did you check the Tools > Error Console for errors related to this problem?
Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
See Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems and Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems
A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.
See http://forums.mozillazine.org/viewforum.php?f=25
You need to post a link to the website or post relevant parts of the code.
Sorry about not posting a link: pure brain cramp.
The site should load with a pop-up/splash screen. I have the cookie set to time out after 5 seconds, but it only resets if the browser is also closed. It was working fine with Firefox until today. It's still working in other browsers.
Error Console reports the usual bazillion warnings, but no errors.
The problem persists in Safe Mode. If I kill the cookie, the plugin displays the splash screen the first time I load the site. If I close the window and browser, wait X seconds, then try again, the splash screen does not display.
Since this is working in all other browsers, I have to conclude that Firefox is somehow not clearing the cookie as it should, even if I manually clear the cookie and cache data.
Where else could the a cookie's expiration data be held?
Alternatively, what could prevent Firefox from resetting a cookie as other browsers are?
글쓴이 Ditchwalk 수정일시
Okay, I think I understand this now....
In my notes above, each time I closed Firefox I was also saving some tabs. As I exited the browser I got the pop-up asking me: "Do you want Firefox to save your tabs for the next time it starts?" Even though I had closed the tab for the site in question, when I clicked 'Save & Quit' Firefox still saved the cookie info for that closed tab -- meaning, when I started the browser the next time, a visit to that site did NOT prompt the appropriate check for an expired cookie.
Today I deleted the cookie and all tabs. I restarted the browser and the plugin displayed correctly. I closed the browser, waited a few seconds, then opened the browser and navigated to the site and the plugin again displayed correctly. (I did this four or five times to confirm.)
I can't be sure of this, but I think this behavior may be new in Firefox since my last update, which was fairly recently. I have been saving tabs and visiting the plugin-enabled site in question before, and I did not have this problem.
Right now, Firefox is not voiding cookie information properly for tabs that are closed pri0r to other browser tabs being saved on exit.