fields. All cookies   [3.2.2]

$cookie:fields

Such a construction returns hash with all cookies.

Example
^cookie:fields.foreach[name;value]{
   $name - ^if($value is "hash"){$value.value}{$value}
}[
<br />]

…will output all cookies' names and their values.


Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 05.02.2008