$Web Num Cookie: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 7: Line 7:


==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" /> %count = $Web_Num_Cookie( name )
<p class="syntax"><section begin="syntax" />%count = $Web_Num_Cookie( name )
<section end="syntax" /></p>
<section end="syntax" /></p>



Revision as of 22:28, 24 October 2012

<section begin="desc" />Number of cookies in request<section end="desc" />

$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

<section begin="syntax" />%count = $Web_Num_Cookie( name ) <section end="syntax" />

Syntax terms

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

See also