tags:

views:

66

answers:

1

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 domains: 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.

+2  A: 

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!

Tristram Gräbener