开发者

JQuery and PHP Cookies

Let's say开发者_运维技巧 I make a cookie using jQuery's Cookie Plugin:

$.cookie('Cookie', "Cookie Value", 1);

Can I read it using php with:

echo $_COOKIE["Cookie"];


Yes.

The cookie is sent back with every HTTP GET or POST to the server made from the domain/path the cookie is set to, until it expires.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜