$Web Num Cookie: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
<span class="pageSubtitle"><section begin="desc" />Number of cookies in request<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Number of cookies in request<section end="desc" /></span>


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


$Web_Num_Cookie takes a single optional argument and returns a number.
<var>$Web_Num_Cookie</var> takes a single optional argument and returns a number.


==Syntax==
==Syntax==

Revision as of 21:03, 16 June 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