I have a cookie that is set in the home directory of a website. It is accessable from subdirectories, however when I try to change the value of that cookie from a page in a subdirectory, I get a NEW cookie, even when I use the same cookie name. I've really been pulling my hair out over this one. Is there a way to do it?
My only solution so far has been to redirect the user to a page in the home directory which changes the value of the cookie, then send them back to the page in the subdirectory... very messy.
Dan