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


The Hashtag Markup Language provides many methods for setting variable values, and using them later.

Variable Buckets can hold many values, processed together.   Variable Contexts enable safe injection anywhere.