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"
Parameter | Description |
---|---|
name | (optional) The name of the cookie to list. |
exact | T 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:
Tag | Description |
---|---|
[index] | A number indicating this cookie's placement in the list |
[name] | The name of the cookie |
[value] | The value associated with the cookie |
[listcookies name=customer&exact=t]
[index] [name] [value]
[/listcookies]