$Web Cookie Len or $Web Cookie Parm Len

From m204wiki
Revision as of 21:38, 21 February 2011 by Admin (talk | contribs) (1 revision)
Jump to navigation Jump to search

<section begin="desc" />Length of cookie<section end="desc" />


$Web_Cookie_Len retrieves the length of a cookie.

Syntax

<section begin="syntax" /> %RC = $Web_Cookie_Len( name, occurrence ) <section end="syntax" />


$Web_Cookie_Len takes two arguments and returns a number, or zero if the cookie does not exist.

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: