Anyone know how to get the cookie expiration date with Javascript? Is this even possible? I've looked for hours and haven't found anything.
RonPK
10:21 am on May 26, 2007 (gmt 0)
It seems to be a write-only property. The browser of course reads the expiration date, in order to decide whether or not to purge the cookie. For some reason the date is not passed on to the scripting engine.
yowza
6:54 pm on May 29, 2007 (gmt 0)
Thanks Ron. Yeah, that's how it appears to me too. It just seems odd that the expiration date wouldn't be passed, especially since you have the ability to set or change it.