Possible Duplicate:
how to setCookie and getCookie using domain name
when i getcookie using javascript, that will get for the current URL.
i want to getCookie by passing domain name, how to get it?
Possible Duplicate:
how to setCookie and getCookie using domain name
when i getcookie using javascript, that will get for the current URL.
i want to getCookie by passing domain name, how to get it?
You mean, you want to query cookies set for a different domain? That can't be done for security reasons.
Imagine the implications: Any site could fetch the user's session cookies for their online banking site, or almost any other site they are logged into.