$Web Cookie Name: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:$Web_Cookie_Name}}
{{DISPLAYTITLE:$Web_Cookie_Name}}
<span class="pageSubtitle"><section begin="desc" />Name of cookie<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Name of cookie<section end="desc" /></span>
$Web_Cookie_Name retrieves the name of a cookie.
<var>$Web_Cookie_Name</var> takes a single argument and returns a string, or null if the number references a non-existing cookie.


==Syntax==
==Syntax==
Line 11: Line 8:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%rc</th>
<td>A string to contain the returned cookie name. This is a null if <var class="term">cookie_number</var> references a non-existing cookie.
<tr><th>cookie_number</th>
<tr><th>cookie_number</th>
<td>The cookie number in the list of received cookies.
<td>The cookie number in the list of received cookies.

Revision as of 20:40, 12 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. This 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