Setting Cookie Variables
This page uses the reserved Hashtag Bucket - Cookie.
The Cookie Bucket uses HTTP Cookies to store and retrieve values.
The test Cookie value will be shown before and after it is set to a new value.
The following HTML Form posts back to this page, setting the message value in the URL.
Note: Hashtag Markup is shown below <# in bold #>.
The value generated by processing the Hashtag Markup, and applying any Variable Contexts, is injected into this HTML page after the ⇒ symbol.
<#[cookie.test as html]#> ⇒
Processing this Hashtag Markup:
<# set cookie.test to "Cookie Set at <#[system.time]#> <#[url.message]#>"; #>
<#[cookie.test as html]#> ⇒ Cookie Set at 6:23:35 AM UTC