$Web Cookie Len or $Web Cookie Parm Len: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Syntax) |
||
Line 5: | Line 5: | ||
<var>$Web_Cookie_Len</var> and <var>$Web_Cookie_Parm_Len</var> retrieve the length of a cookie. | <var>$Web_Cookie_Len</var> and <var>$Web_Cookie_Parm_Len</var> retrieve the length of a cookie. | ||
<var>$Web_Cookie__Parm_Len</var> is an alias for <var>$Web_Cookie_Len</var>; they each take two arguments and return a number, or zero if the cookie does not exist. | |||
==Syntax== | ==Syntax== | ||
<p class="syntax"><section begin="syntax" /> %RC = $Web_Cookie_Len( name, occurrence ) | <p class="syntax"><section begin="syntax" /> %RC = $Web_Cookie_Len( name, occurrence ) | ||
<section end="syntax" /></p> | <section end="syntax" /></p> | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>name</th> | <tr><th>name</th> | ||
Line 25: | Line 26: | ||
<li>[[$Web_Num_Cookie]] | <li>[[$Web_Num_Cookie]] | ||
<li>[[$Web_Set_Cookie]] | <li>[[$Web_Set_Cookie]] | ||
<li>[[$Web_Get_Cookie_Lstr]] | <li>[[$Web_Get_Cookie_Lstr]] | ||
<li>[[$Web_Set_Cookie_Lstr]] | <li>[[$Web_Set_Cookie_Lstr]] |
Revision as of 16:35, 10 January 2012
<section begin="desc" />Length of cookie<section end="desc" />
$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
<section begin="syntax" /> %RC = $Web_Cookie_Len( name, occurrence ) <section end="syntax" />
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: