$Web Num Cookie: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
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.


$Web_Num_Cookie 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"><section begin="syntax" /> %count = $Web_Num_Cookie( name )
<section end="syntax" /></p>
<section end="syntax" /></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 ''name''. 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><var>[[$Web_Cookie_Len]]</var>  
<li><var>[[$Web_Cookie_Len]]</var>  
<li><var>[[$Web_Cookie_Name]]</var>  
<li><var>[[$Web_Cookie_Name]]</var>  
<li><var>[[$Web_Cookie_Parm]]</var>  
<li><var>[[$Web_Cookie_Parm]]</var>  
<li><var>[[$Web_Set_Cookie]]</var>  
<li><var>[[$Web_Set_Cookie]]</var>
<li>
<li><var>[[$Web_Get_Cookie_Lstr]]</var>  
<li><var>[[$Web_Get_Cookie_Lstr]]</var>  
<li><var>[[$Web_Set_Cookie_Lstr]]</var>
<li><var>[[$Web_Set_Cookie_Lstr]]</var>

Revision as of 14:26, 13 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