Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm having an issue with a website. On one machine (10.6.8) it is not possible anymore to save the login cookie of a particular website. The site does not work with any user account on that Mac anymore.

This issue occurs in all browsers on that machine. On other machines or for other domains on the same machine the logins are working fine. The user's password is definitely correct as it works on other machines. The problem is that the cookie of that particular web page cannot be saved.

I tried without success:

  • Check Setting (Cookies are allowed)
  • Reset browsing data of all browsers
  • Delete ~/Library/Cookies/
  • Repair permissions
  • Reboot and reset PRAM.

Does anyone has ideas on this? Thanks.

share|improve this question
    
I found the answer myself: The reason was the clients date, which was not set correctly, but to the future. Therefore the cookie was no longer valid and got deleted. I can't post this as a solution since the limitations of the forum. –  Martin Jul 6 '11 at 10:02
    
Note that other browsers cookies are not necessarily in ~/Library/Cookies –  Mark Jul 6 '11 at 10:03

1 Answer 1

The problem with the date on the computer is related to the cookie's expiration. The website is reporting that the cookie is valid from 1 week (or whatever) when it is created and given to the computer, but when the browser compares the cookie's expiration period to the current system time, it is either a TRUE or FALSE value. Because the date is so far off, it's always a FALSE (it only needs to be 1 second outside the valid period to get a FALSE value).

This is true for Windows too. Most people have this same problem with Windows 8.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.