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.
精彩评论