listcookies

listcookies lists all the cookie names and values sent from the remote browser. listcookies is very helpful when writing code using cookies, to see if and when cookies are being set.
[listcookies parameters]Cookie Tags[/listcookies]

Parameters

The [listcookies] context has optional parameters to modify the list of cookies produced. To list the cookies whose name begins with "text"

ParameterDescription
name(optional) The name of the cookie to list.
exactT or F (optional) Whether to exactly match the cookie name or return any cookie name that contains the "name" value. (Default value is T.)

Tags available inside a [listcookies] context:

TagDescription
[index]A number indicating this cookie's placement in the list
[name]The name of the cookie
[value]The value associated with the cookie
Example WebDNA code:
[listcookies name=customer&exact=t]
[index] [name] [value]
[/listcookies]