$Web Num Cookie: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:$Web_Num_Cookie}} <span class="pageSubtitle"><section begin="desc" />Number of cookies in request<section end="desc" /></span> $Web_Num_Cookie retrieves the num...")
 
 
(15 intermediate revisions by 3 users 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> takes a single optional argument and returns a number.


$Web_Num_Cookie retrieves the number of cookies in a request header.
==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===
$Web_Num_Cookie takes a single optional argument and returns a number.
<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>


 
==See also==
See also:
<ul>
<ul>
 
<li>[[Janus Web Server application coding considerations#Understanding cookies|"Understanding cookies"]]
<li>[[$Web_Cookie_Len]]  
<li><var>[[$Web_Cookie_Len]]</var>
<li>[[$Web_Cookie_Name]]  
<li><var>[[$Web_Cookie_Name]]</var>
<li>[[$Web_Cookie_Parm]]  
<li><var>[[$Web_Cookie_Parm]]</var>
<li>[[$Web_Set_Cookie]]  
<li><var>[[$Web_Set_Cookie]]</var> 
<li>  
<li><var>[[$Web_Get_Cookie_Lstr]]</var>
<li>[[$Web_Get_Cookie_Lstr]]  
<li><var>[[$Web_Set_Cookie_Lstr]]</var>
<li>[[$Web_Set_Cookie_Lstr]]
</ul>
</ul>




[[Category:Janus Web Server $functions|$Web_Num_Cookie]]
[[Category:Janus Web Server $functions|$Web_Num_Cookie]]

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