$Web Num Cookie: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (→Syntax) |
||
(10 intermediate revisions by 2 users 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> takes a single optional argument and returns a number. | |||
==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=== | |||
<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> | ||
==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><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> |
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. |
---|