Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What do browsers do with expired cookies? I know that the app won't read them in, and I'm assuming the browser wouldn't send them, but are they purged from the file system with any regularity?

share|improve this question

migrated from stackoverflow.com Nov 11 '11 at 9:35

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 5 down vote accepted

Taken From http://msdn.microsoft.com/en-us/library/aa289495(v=vs.71).aspx

If a cookie has expired, the browser does not send that particular cookie to the server with the page request; instead, the expired cookie is deleted.

share|improve this answer

This depends upon the specific browser and also the user's personal settings. Welcome to the world of web development, where everybody is a special case. This is one of the reasons you need to test your site extensively, with multiple browsers, from different locations.

share|improve this answer
2  
Yeah, some firefox versions seem to conserve expired cookies forever. I just deleted some cookies from my Firefox which expired in April 2012. (There were newer cookies with same domain and name, though.) –  Paŭlo Ebermann Jan 8 '13 at 10:35

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.