$Web Cookie Name: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 3: Line 3:


==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" /> %rc = $Web_Cookie_Name( cookie_number )
<p class="syntax"><section begin="syntax" />%rc = $Web_Cookie_Name( cookie_number )
<section end="syntax" /></p>
<section end="syntax" /></p>


Line 21: Line 21:
END FOR
END FOR
</p>
</p>


==See also==
==See also==

Revision as of 21:02, 16 June 2012

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

Syntax

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

Syntax terms

%rc A string to contain the returned cookie name. The string is a null if cookie_number references a non-existing cookie.
cookie_number The cookie number in the list of received cookies.

Examples

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