PHP and Javascript cookies
Posted
by
shummel7845
on Stack Overflow
See other posts from Stack Overflow
or by shummel7845
Published on 2011-01-14T20:49:07Z
Indexed on
2011/01/14
20:53 UTC
Read the original article
Hit count: 111
php
|JavaScript
Can I access a cookie written with jQuery's cookie plug-in with PHP? I know you can't set Javascript equal to PHP or vice versa, but IN ESSENCE is:
$.cookie('var') = $_COOKIE['var']?
Again, I know you can't set them equal to each other, but if I set it in jQuery and then go to another page, can PHP access it? I've read lots of posts about this, but I can't seem to find an answer to this part.
Note, if I look in Firefox's preferences, I can see the cookies are there, so I know they're set.
© Stack Overflow or respective owner