![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
server sided php session cookies are being deleted only in firefox
When I visit a site and log in to that site, after 5 seconds the session is already closed. This does not happen with any other browser, just with firefox. I have altered the privacy settings in firefox, so all cookies of this site are allowed, but the problem remains.
所有回覆 (8)
may be your cookie file corrupted
Thank you for your help, but this is not the solution. Also with a clean firefox installation from another pc this problem occurs. After 5 seconds the php session-cookie disappears from the server.
Try the Firefox Safe Mode to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.
(If you're not using it, switch to the Default theme.)
- You can open the Firefox 4.0+ Safe Mode by holding the Shift key when you use the Firefox desktop or Start menu shortcut.
- Or use the Help menu item and click on the Restart with Add-ons Disabled... menu item while Firefox is running.
Don't select anything right now, just use "'Start in Safe Mode" To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again. If it is good in the Firefox Safe Mode, your problem is probably caused by an extension, and you need to figure out which one.
Please follow the Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems article for that.
When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.
I also tried the save mode, but the problem remains.
Check whether your cookie option is enabled.
I have done that, same problem...
Certain Firefox problems can be solved by performing a Clean reinstall. This means you remove Firefox and any leftover program files and then reinstall Firefox. Please follow these steps one by one:
- Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
- After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu) and confirm all upcoming messages.
- Now, uninstall Firefox by following the steps mentioned in the Uninstall Firefox article.
IMPORTANT: On Windows, the uninstaller has the option to remove your personal data and settings. Make sure that you do not check this option; otherwise all of your bookmarks, passwords, extensions, user customizations and other Firefox user profile data will be removed from your computer.
After uninstalling Firefox on Windows, delete the "Mozilla Firefox" program folder, located by default in one of these locations:
- (On 32-bit Windows) C:\Program Files\Mozilla Firefox
- (On 64-bit Windows) C:\Program Files (x86)\Mozilla Firefox
- Go to the Windows Start menu and click on "Computer".
- In the Explorer window that opens, double click Local Disk (C:) to open the C:\ drive.
- Find the "Program Files (x86)" folder or "Program Files" folder.
- On 32-bit Windows, double-click the Program Files folder to open it.
- On 64-bit Windows, you will see a "Program Files (x86)" folder AND a "Program Files" folder. Open the Program Files (x86) folder.
- Look for a Mozilla Firefox folder. If you find one, right-click it and select Delete and confirm that you want to move the folder to the Recycle Bin.
Now, go ahead and reinstall Firefox:
- Double-click the downloaded installation file and go through the steps of the installation wizard.
- Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
Please report back to see if this helped you!
Thank you, but as I said before, I have already done a clean firefox install on another PC and there I have the same problem.