Eric Pascarello wrote:I would start here: JavaScript getCookie
Eric
Hi Eric,
I followed your google search and found this resource
The above code seems flawed, since it won't search my cookie that I have created earlier. As a result, it is freshly creating another cookie with the same name.
Something strange is happening, the new cookie is getting created at a different path than the earlier one!
When I check details about document.cookie , after I have already created one with a name 'selection', I don't see selection anywhere in the cookie (because it is searching from a different path!)
Is it possible to loop through 2 paths, and get all the cookies. Here are the 2 paths