How can I get cookies that were set in javascript from a twig template? The docs state that {{ craft.request.getCookie(name) }} will not work for cookies that were set in JavaScript, because all cookies in Craft go through some validation to ensure that they aren't tampered with. 

This is understandable, but is there any way of getting non-Craft cookies with twig?
So far the only solution I have found is to use a plugin, and Lewis Jenkins' LJ Cookies plugin does the trick nicely:

{{ craft.lj_cookies.get( NAME ) }}


It also allows you to set and delete cookies within templates.