U
UncleStoner
Using Javascript, you can call document.cookie to get a list of all the
cookies that will be sent to the path of the current document. Is
their a way to get all the cookies associated with the current domain
without regard to the path of the current document?
For example, if there is a cookie with path=/foo and a cookie with
path=/bar, and I have javascript in the page /foo/cool.html: Can I
query the cookie with the path of /bar as well as the cookie with the
bath of /foo? By default, document.cookie only returns the cookies
that would be sent with an HTTP request to /foo.
Thanks,
Dave
cookies that will be sent to the path of the current document. Is
their a way to get all the cookies associated with the current domain
without regard to the path of the current document?
For example, if there is a cookie with path=/foo and a cookie with
path=/bar, and I have javascript in the page /foo/cool.html: Can I
query the cookie with the path of /bar as well as the cookie with the
bath of /foo? By default, document.cookie only returns the cookies
that would be sent with an HTTP request to /foo.
Thanks,
Dave