Set expiration date for cookie from different domain
Is there any way I can set Cookie expiration date from other page - i want to delete the cookie across domain. E.g. there are two d开发者_如何学Goomains: first.com, second.com . From second.com i want to set expiration date for cookie from first.com. I don't have an access to first.com.
You can't. It's a security policy of the browser.
Imagine if any domain could spy on the cookies set by an other domain!
精彩评论