<<

Contents

Search

>>

 

HTML_COOKIE_READ$

 

 

Function

 

 

Syntax:

HTML_COOKIE_READ$(<Cookie name>)

 

<Cookie name> = <STRING-EXPRESSION>

 

 

Meaning:

Reads a cookie in a Html program.

 

A <Cookie entry> has the following structure: <Cookie name>=<Cookie value>

Attention: <Cookie name> is not case-sensitive.

 

HTML_COOKIE_READ$ returns the corresponding <Cookie value> of <Cookie name>.

 

In the case of an error (not a Html program, <Cookie name> is empty, Cookie does not exist, runtime error, etc.) HTML_COOKIE_READ$ returns an empty string "".

 

Parameter:

Cookie name

Cookie name

 

Sample:

VALUE$ = HTML_COOKIE_READ$("last_invoice")

IF VALUE$ = ""

THEN ... error or cookie does not exist ...

ENDIF

 

See also:

HTML_COOKIE_WRITE

HTML_COOKIE_DELETE