开发者

Webkit Developer Tools does not show parent domain cookies?

For an app I'm developing on sub开发者_StackOverflow中文版.domain.com, I have cookies that I need from domain.com and sub.domain.com. Firebug+Firecookie shows me all the cookies that go out with each request, however when I use Developer Tools in Chrome I only see the cookie set on sub.domain.com.

Is there any way to fix this?


No answer for this as of yet, so for now I'll make this the current workaround:

Open the developer console (cmd+option+i on the mac) go to the Console tab and enter:

document.cookie

This will show you all the cookies for the domain as well as any parent domain.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜