107
rated 0 times
[
108]
[
1]
/ answers: 1 / hits: 146391
/ 14 Years ago, sun, july 18, 2010, 12:00:00
Is it possible to retrieve the creation or expiration date of an existing cookie from javascript? If so how?
More From » cookies
Is it possible to retrieve the creation or expiration date of an existing cookie from javascript? If so how?
The information is not available through document.cookie
, but if you're really desperate for it, you could try performing a request through the XMLHttpRequest
object to the current page and access the cookie header using getResponseHeader()
.