$Web_Cookie_Name

From m204wiki
Revision as of 21:33, 21 February 2011 by 198.242.244.47 (talk) (Created page with "{{DISPLAYTITLE:$Web_Cookie_Name}} <span class="pageSubtitle"><section begin="desc" />Name of cookie<section end="desc" /></span> $Web_Cookie_Name retrieves the name of a cookie....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<section begin="desc" />Name of cookie<section end="desc" />

$Web_Cookie_Name retrieves the name of a cookie.

Syntax

<section begin="syntax" /> %RC = $Web_Cookie_Name( cookie_number ) <section end="syntax" />


$Web_Cookie_Name takes a single argument and returns a string, or null if the number references a non-existing cookie.

cookie_number The cookie number in the list of received cookies.


In the following code, the name of every cookie sent by a browser is placed into a string array.

%X = $Web_Num_Cookie FOR %Y FROM 1 TO %X %HDR_FIELD(%Y) = $Web_Cookie_Name(%Y) END FOR


See also: