If you are accessing sites like Google Calendar, Twitter, LinkedIn, Yahoo Mail, etc. from a personal computer, you probably use the "remember me" option so that you don’t have to type the user name and password each time you visit the site.
Internally, Firefox uses cookies that are set to expire after a longer duration and thus you are automatically signed in to your favorite website without having to re-enter the password.
Now the annoying problem. It sometimes happens that Firefox is unable to remember your setting and keeps logging you out of the website each time your restart the computer or re-open the browser. How do you then force Firefox to keep you logged in into your frequently visited sites?
As you may have guessed, this "logging out" issue is actually related to cookies in Firefox. Either your cookie database has gone corrupt or the browser is unable to save them anymore Here are few things you can do to fix the problem:
Option 1: Go to Tools -> Clear Recent History and clear cookies for the "entire history".
Option 2: It may be possible that you have set Firefox not to remember cookies and hence you are getting logged off each time you close the browser. Go to Tools -> Options -> Privacy and make sure that you unchecked "Always clear my private data when I close Firefox".
Option 3: Under the same privacy tab, make sure that the following settings are true – "Accept Third Party Cookies" and "Keep until they expire". If you like Firefox to keep you logged in for a very long time, try this Greasemonkey script as it sets the cookie expiry time to 2050.
Option 4: Close your Firefox browser and open the profiles folder – you can simply type "%APPDATA%MozillaFirefoxProfiles" in the Windows Run box and hit Enter. Double-click the profile folder (xxxxxxxx.default folder) and delete the cookies.sqllite file. Restart Firefox – this will recreate the cookie database and the browser should now be able to remember your login preferences. [via]
Option 5: If nothing works, your last resort is that you create a new profile by via the Profile Manager in Firefox. Just type "firefox.exe -ProfileManager" in the Start -> Run dialog and follow the wizard.
Related: How to Clean Internet History in Firefox
Find this article at: http://www.labnol.org/software/stay-logged-in-with-firefox/8094/
Reader Comments
HI Amit,
I was wondering you had the same problem? because I am facing the same problem for the last couple of days. I could not resolve it, have tried like checking the settings in the firefox. Then I have decided that there is some update from the firefox related to privacy :) lol.
Your article is really a god send, right away I am going to try to fix the problem. Thanks a lot amit for the great tips!!!
Written by Krishna on 04.02.09
Good information!
Though, it is suggested “Not to use – remember me” for security reasons. May be your computer is not entirely yours – office or networked computers… and may hackers find it from cookies! [Not talking about- how to or how easy that could be!]
Cheers!
Written by Netwala on 04.02.09
Thanks Amit. It was of a big help for me.
Was facing this issue from quite some time now and I was wondering what had happened the browser.
Written by Vikas SN on 04.02.09
Amit, backslashes are missed out in “%APPDATA%\Mozilla\Firefox\Profiles”
Written by Joseph on 04.02.09
Thats a very informative bit of write-up Amit. Thanks for sharing
Written by Greener Bangalore on 04.02.09
option 4 worked for me, some time ago
Written by emilime on 04.02.09
I had been facing this problem recently, turns out that option 3 was the culprit, its fixed now :), thanks for the heads up.
Written by Keith Dsouza on 04.02.09
Well I don have a problem like this one, how ever I will bookmark this page for further reference!!
Written by vamsi on 04.02.09
I haven’t faced this issue with my firefox. Anyway, it is a good tip to remember.
Written by Chris on 04.02.09