$Web Num Cookie: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
Line 7: Line 7:


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


Line 13: Line 13:
<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