It always amazes me how many little “gotchas” there are in web design. Here’s the sitch:
- Set a cookie using PHP at www.site.com/wordpress…set the cookie for the root: /
- Can read the cookie at www.site.com/wordpress
- Can NOT read the cookie at www.site.com/another_folder
- CAN read the cookie at site.com/another_folder (without the www)
After some digging found this article which shares how to set cookies so they can be accessed at www. or .