开发者

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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜