Apache Cocoon Main > Samples > Modules > Cookie module (CookieModule)
 
  Cookie module (CookieModule)

Cookie module (CookieModule)

Returns the value of the named HTTP cookie. The example used LocaleAction to store the current locale name as cookie. If the value is empty, use the browser's reload button. (Cookies just created cannot be read out. Only when the browser presents it on the next request, it will be available.)

AccessorValue
locale