What do browsers do with expired cookies?

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?

0

3 Answers

Taken from MSDN

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.

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.

1

Browser checks for expired cookies when a page is requested from that domain. If a cookie has expired, the browser does not send that particular cookie to the server with the page request, and deletes it.

If a page has not been requested from that domain, the cookie will reside on your browser till it is overwritten by another cookie (happens when memory allocated for storing cookies gets used up).

0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like