Two cookies from the Meta Stack and Stack Overflow which will expire in 2055

Personally, I just want to know for what purpose they're used for.

  • I believe they are used to keep you logged in if you're a registered user and the cookies serve as a mean to keep track of the users that choose to remain unregistered. You can have a cookie only account aka, be an unregistered user. – rene Mar 24 '18 at 10:16
  • Just checked now by removing the 2055 cookies (one changed to 31/12/54) and I was still signed in when coming back to this page, which probably means these cookies aren't responsible for that. – Azxdreuwa Mar 24 '18 at 10:28
  • Yeah, just checked and it confirmed what I believed, that the 'acct' cookie is responsible for it. – Azxdreuwa Mar 24 '18 at 10:30
  • 2
    Yes, but there's no explanation on what these long lasting cookies are for. – Azxdreuwa Mar 24 '18 at 10:37
  • Yeah, needs a dev to explain. I wonder if Adam Lear has a few minutes left to elaborate on that – rene Mar 24 '18 at 10:43
  • Those cookies have preservatives and hence longer shelf life. :) – NVZ Mar 24 '18 at 11:04
  • @rene Definitely, I see no reason why a cookie should ever last this long. I've even seen some cookies expire in the next century, weird stuff. – Azxdreuwa Mar 24 '18 at 11:15
  • 7
    That's the date when Atwood will return. All questions with upvoted answers will be archived to a higher database, and the final battle with Quora and Yahoo will begin. – jscs Mar 24 '18 at 14:49
  • Preservatives.​‍​‍​‍​‍​‍​‍​‍ – user1228 Mar 26 '18 at 19:10
  • Damnit, too slow :( – user1228 Mar 26 '18 at 19:10

I would ask: why would they choose to have your cookies automatically expire at any point?

Stack can clear the cookies when it's appropriate for them, such as when you log out.

Your browser can clear the cookies when it's appropriate for you, based on your privacy settings, storage requirements, or whatever else you consider important.

Newer APIs, like Storage and IndexedDB, do not require (or even support) auto-expiration dates, beyond the high-level choice of "indefinitely" versus "session". Only cookies require this. Choosing an arbitrary date in the far future is a good way to ignore the requirement.

  • you answered the title, can you elaborate on what is asked in the body: I just want to know for what purpose they're used for.? (assuming you feel that is appropriate) – rene Mar 26 '18 at 12:04
  • Thank you for the response, makes sense to me now. I also would like to know what they are being used for though, as @rene mentioned, as I'm honestly not sure of why they would need a cookie to last longer than the session if it's not used for user authentication, let alone for 37 years. I'm going to check CCleaner to see if Stack cookies are stored on my PC. – Azxdreuwa Mar 26 '18 at 18:15
  • Yeah, a stackexchange cookie is store on my PC, don't know which one, but appears when I leave the 2055 cookie on my browser. – Azxdreuwa Mar 26 '18 at 18:22

You must log in to answer this question.

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