Is it possible in php to read a cookie that has been set in Javascript?
Done
http://www.php.net/manual/en/features.cookies.php
according to the manual, php should register any cookie sent from the browser in the $_COOKIE global associative array in versions after 4.1 and $HTTP_COOKIE_VARS before that. To make the cookie values an array add [] to the name of the cookie you set in javascript.
I guess my question is why use javascript to set a cookie that is going to be read by php? Why not use php to set the cookie also?