I've tried a lot of the cookie reading scripts out there, but I can't seem to find one that works. I know document.cookie only returns the cookies being used on the current page? but I need a function that will get a cookie from it's name, not in use on the current (set a few mins before on another page). Is this possible? Thanks in advance for any code you can provide.
Set the cookie with 'path=/' or a path at the same level or higher than the location at which it will be read.
How are you creating your cookie? If it's a function it must accept a path parameter. If you're coding the string manually, add: ;path=/ Code (markup):