Page 1 of 1

Parsing cookie files

Posted: Fri Aug 03, 2007 5:34 am
by yarons
Hello,

I'm wondering if I could use PHP to parse cookie files.
I need to automatically extract the expiry date of cookies not set by my own domain. As the $_COOKIE array will only show my cookies set by my domain, I thought maybe putting the cookie files themselves under my web server and then read and parse those files.

Any clever ideas?

Cheers

Y

Posted: Fri Aug 03, 2007 12:50 pm
by miro_igov
I need to automatically extract the expiry date of cookies not set by my own domain
Impossible, browser sends only cookies set for the current domain.