18

I have to log in 3 or 4 times a day. Sometimes my session lives for a day, sometimes 1-2 hours. The problem started about 2-3 weeks ago, and previously my session lived for more than a week.

Browser: Google Chrome Version 45.0.2454.85 (64-bit)
OS: Software Mac OS X Lion 10.7.5 (11G63)

8
  • 41
    I can't recall the last time I had to log in again.
    – Cerbrus
    Commented Sep 4, 2015 at 13:16
  • 7
    Happens to me all the time on Ipad and never on PC. Commented Sep 4, 2015 at 13:20
  • 4
    Clearly SO doesn't want you people to continue hanging 'round these parts.
    – CubeJockey
    Commented Sep 4, 2015 at 13:26
  • 1
    Maybe someone else is logging into your account. Have you tried changing your password and seeing if that fixes it? Commented Sep 4, 2015 at 13:37
  • NathanOliver: I'll try
    – artych
    Commented Sep 4, 2015 at 13:50
  • 1
    You're still on Lion? o_0
    – bjb568
    Commented Sep 7, 2015 at 4:05
  • 1
    Happening with me on iPhone (iOS 8.3), nearly everyday (sometimes even twice in a day). Agree with Op that this problem started only about a couple of weeks ago.
    – Abhitalks
    Commented Sep 7, 2015 at 7:51
  • @Abhitalks Having the same problem on iPhone (8.4.1, Safari), since about few weeks ago. Never happens on Windows PC (Firefox). Commented Sep 7, 2015 at 7:52

1 Answer 1

16

First check cookie settings. In Chrome go to:

  • Settings
  • Advanced
  • Privacy
  • Content
  • or chrome://settings/content

Under "Cookies" either:

  • "Allow local data to be set"

OR

  • "Manage exceptions..."
  • Add "*.stackoverflow.com"
  • Set "Behavior" to "Allow"

If this doesn't fix it try unchecking "Block third-party cookie and site data". If that does fix it, You can go to "All cookies and site data" and see which 3rd party sites add cookies when you go to SO and add exceptions for those. This is what I see when I clear everything and then log in at Stack Overflow:

Screen shot of the list of cookies in Chrome when the only site the browser has been to is Stack Overflow. The list is long enough that the window has a scroll bar and the first half of the list is visible. Screen shot of the list of cookies in Chrome when the only site the browser has been to is Stack Overflow. The list is long enough that the window has a scroll bar and the second half of the list is visible.

(Both images show cookies from other Stack Exchange and Google sites as well as Imgur and what appear to be ad sites.)

I'm going to assume SO doesn't use flash cookies since this was working for you on a Mac a few weeks ago (unless they added that recently?).

Second, as suggested by Mathijs Flietstra, the next step is to look at any add-ons to your browser that have the ability to change your cookies. In particular, you should check:

  • Recently added add-ons
  • Recently updated add-ons
  • Recently changed add-ons (changes to settings, etc.)

Third, if you are at work it could be that there was a recent change in the sites black/white-listed that's affecting your login. For instance, if you use Facebook to login but they started blocking all things Facebook.

Long shot: a corrupt profile. To fix it:

  1. Exit Google Chrome completely.
  2. Open Finder
  3. ~/Application Support/Google/Chrome/
  4. Locate the folder called "Default"...and rename it as "Backup default."
  5. Try opening Google Chrome again. A new "Default" folder is automatically created as you start using the browser.
2
  • thanks for answer, browser settings allow local data to be set, so I'll try to renew "Default" folder today
    – artych
    Commented Sep 4, 2015 at 14:52
  • 2
    Just for the sake of completeness, I'd add the question "Have you recently installed any 3rd party programs which might be cleaning your cookies?" Commented Sep 7, 2015 at 7:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .