On 10 mrt, 14:06, rasmusfl0e <[email protected]> wrote:
> The MooTools docs state:
>
>  * In order to share the Cookie with pages located in a different
> path, the Cookie.options.domain value must be set.

I don't want to share the Cookie from several paths. What happens here
is that Cookie.write writes to the correct cookie (path: /), but
Cookie.read reads from the incorrect cookie (path: /CookieTest/).

I don't mind adding options, and in fact, by setting the path I'm sure
the cookie is read always correct. This is a good workaround.

I believe that Cookie.read(key) and Cookie.write(key, value) should
both address the same cookie. And they do not!


Reply via email to