Internet Explorer 11 treats cookies unlike other modern browsers
If you're attempting to invalidate a cookie in IE 11 be sure to set the expires
parameter. Unlike other modern browsers which can work solely with the max-age
param, IE 11 (and apparently all its predecessors) don't respect it.
To better understand the difference between max-age
and expires
, check out this article and handy demo.