Chrome's Unusual Approach to Session Cookie Persistence
Question:
Why does Chrome retain session cookies even after browser closure, unlike Firefox and Opera?
Answer:
Chrome's behavior is likely influenced by its default setting, "Continue where you left off." This option maintains open tabs and website states across sessions.
Further Analysis:
- Session cookies typically expire when the browser is closed, erasing temporary data.
- Chrome's exemption of session cookies from expiration in Mac OSX Lion, but not in Windows XP or Ubuntu, suggests OS-specific variations.
- To address the issue, check if "Continue where you left off" is enabled in Chrome's settings. If so, disable the option to restore the expected session cookie expiration behavior.
Additional Resources:
- Bug report: Chrome is not deleting temporary cookies – i.e. not logging me out automatically when I close all browser Windows
- Issue 128513 in Chromium: Session Cookies not cleared when Chrome processes closed
- Issue 128567: Session only cookies don't delete
The above is the detailed content of Why Does Chrome Keep Session Cookies After Closing, Unlike Other Browsers?. For more information, please follow other related articles on the PHP Chinese website!