Link Search Menu Expand Document

get_cookie

The get_cookie tag can be used to fetch value contained within any cookie set by the set_cookie tag.

<cms:get_cookie 'my_test_cookie' />

The snippet above will retrieve the value set within the cookie named ‘my_test_cookie’

Parameters

  • name

name

The name of the cookie the value of which is to be retrieved.

Variables

This is a self closing tag and sets no variables of its own.