开发者

Cookies wont work in https:// why?

what is different when we open url with https/开发者_Python百科http w.r.t Cookies? What is code/mechanism behind https:/..............Url........ and http://...url.


Check the Domain, Secure, and HttpOnline properties, as they can be used to restrict which urls will receive which cookies from the client. The Wikipedia article on cookies is a good place to start.


This might give you some help: http://www.webmasterworld.com/forum21/7475.htm

To sum it up, https and http are considered different domains, so you can't access the cookies from one on the other. If you set the cookie to secure though, the https should be able to read it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜