cookie
Purpose
Obtains the value of a named cookieExamples
Reading a cookie's value:Hello <g:cookie name="myCookie" />
<g:if test="${cookie(name:'myCookie')}">Hello</g:if>
Description
Attributesname
- The name of the cookie
(Quick Reference)
cookiePurposeObtains the value of a named cookieExamplesReading a cookie's value:Hello <g:cookie name="myCookie" /> <g:if test="${cookie(name:'myCookie')}">Hello</g:if> DescriptionAttributes
Source |
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet APITag LibrariesTags |