$Web Num Cookie: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:$Web_Num_Cookie}}
{{DISPLAYTITLE:$Web_Num_Cookie}}
<span class="pageSubtitle"><section begin="desc" />Number of cookies in request<section end="desc" /></span>
<span class="pageSubtitle">Number of cookies in request</span>


<var>$Web_Num_Cookie</var> retrieves the number of cookies in a request header.
<var>$Web_Num_Cookie</var> retrieves the number of cookies in a request header.
Line 7: Line 7:


==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" />%count = $Web_Num_Cookie( name )
<p class="syntax"><span class="term">%count</span> = <span class="literal">$Web_Num_Cookie</span>( [<span class="term">name</span>] )
<section end="syntax" /></p>
</p>


===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>name</th>
<tr><th>name</th>
<td>Specifies to count only the cookies that match ''name''. If omitted, returns the count of all cookies.
<td>Specifies to count only the cookies that match <var class="term">name</var>. If omitted, returns the count of all cookies.
</td></tr></table>
</td></tr></table>



Latest revision as of 00:57, 16 April 2013

Number of cookies in request

$Web_Num_Cookie retrieves the number of cookies in a request header.

$Web_Num_Cookie takes a single optional argument and returns a number.

Syntax

%count = $Web_Num_Cookie( [name] )

Syntax terms

name Specifies to count only the cookies that match name. If omitted, returns the count of all cookies.

See also