cross site cookies
Hi I am trying to clear one of my cookies associated with a domain www.efiglobal.com on a page g开发者_Go百科enerated at this location: https://secure.epromo.com so this is clearing a cookie in domain x from domain y.
I tried to do this doing frames which I can do but it would make my code convoluted.
I tried to do this using an iframe and had no success.
Any ideas?
If the domain where the cookie is from has an url where the user can delete his cookies, like http://www.efiglobal.com/logout
or http://www.efiglobal.com/?clearallcookies
you can place an iframe on any site pointing to that url.
But if the first domain has no such url, you can not remove the cookie remotely, since you have no access to any cross domain cookies!
精彩评论