$Web Num Cookie: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (→Syntax) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:$Web_Num_Cookie}} | {{DISPLAYTITLE:$Web_Num_Cookie}} | ||
<span class="pageSubtitle" | <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">< | <p class="syntax"><span class="term">%count</span> = <span class="literal">$Web_Num_Cookie</span>( [<span class="term">name</span>] ) | ||
< | </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 | <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. |
---|