The Grails Framework 3.1.7

See the light - agile, industrial strength, rapid web application development made easy

(Quick Reference) # cookie ## Purpose Obtains the value of a named cookie ## Examples Reading a cookie's value:
    Hello <g:cookie name="myCookie" />
Or testing for existence:
    <g:if test="${cookie(name:'myCookie')}">Hello</g:if>
## Description Attributes `name` - The name of the cookie ## Source | Quick Reference (hide)