CookieTool Viewtool

Last Updated: Aug 20, 2021
documentation for the dotCMS Content Management System

The Cookietool Velocity Viewtool allows you to create and access cookies. This class is only designed for use as a request-scope tool.

The following example shows how the CookieTool Viewtool is mapped in the toolbox.xml file:



How to return a cookie value and how to set a cookie label/value.

//get a cookie value

//add a cookie label and value

On this page