$Web Cookie Len or $Web Cookie Parm Len: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:$Web_Cookie_Len or $Web_Cookie_Parm_Len}}
{{DISPLAYTITLE:$Web_Cookie_Len or $Web_Cookie_Parm_Len}}
<span class="pageSubtitle"><section begin="desc" />Length of cookie<section end="desc" /></span>
<span class="pageSubtitle">Length of cookie</span>
 




Line 8: Line 7:


==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" /> %RC = $Web_Cookie_Len( name, occurrence )
<p class="syntax"><span class="term">%rc</span> = <span class="literal">$Web_Cookie_Len</span>(<span class="term"> name</span>, <span class="term">occurrence</span> )
<section end="syntax" /></p>
</p>


<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>name</th>
<tr><th>name</th>
<td>The name of the cookie, returned by $Web_Cookie_Name. Required argument if occurrence not specified, otherwise optional.</td></tr>
<td>The name of the cookie, returned by <var>$Web_Cookie_Name</var>. Required argument if occurrence not specified, otherwise optional.</td></tr>
<tr><th>occurrence</th>
<tr><th>occurrence</th>
<td>The occurrence number of a cookie, or the occurrence number of the cookie matching 'name', if name is specified. Optional argument if name is specified, otherwise it is required.
<td>The occurrence number of a cookie, or the occurrence number of the cookie matching 'name', if name is specified. Optional argument if name is specified, otherwise it is required.
Line 19: Line 18:




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




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

Latest revision as of 20:36, 12 April 2013

Length of cookie


$Web_Cookie_Len and $Web_Cookie_Parm_Len retrieve the length of a cookie. $Web_Cookie__Parm_Len is an alias for $Web_Cookie_Len; they each take two arguments and return a number, or zero if the cookie does not exist.

Syntax

%rc = $Web_Cookie_Len( name, occurrence )

name The name of the cookie, returned by $Web_Cookie_Name. Required argument if occurrence not specified, otherwise optional.
occurrence The occurrence number of a cookie, or the occurrence number of the cookie matching 'name', if name is specified. Optional argument if name is specified, otherwise it is required.


See also