<<

Contents

Search

>>

 

HTML_COOKIE_WRITE

 

 

Function

 

 

Syntax:

HTML_COOKIE_WRITE(<Cookie entry>)

 

<Cookie entry> = <STRING-EXPRESSION>

 

 

Meaning:

Saves 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_WRITE returns the following values:

 

Value

Meaning

 1

No error

-1

A runtime error has occured.

-2

The program is not a Html program.

-3

<Cookie entry> is empty.

-4

The structure of <Cookie entry> is not <Cookie name>=<Cookie value>.

 

Parameter:

Cookie entry

<Cookie name>=<Cookie value>

 

Sample:

H% = HTML_COOKIE_WRITE("last_invoice=50354")

IF H% <> 0

THEN ... error ...

ENDIF

 

See also:

HTML_COOKIE_READ$

HTML_COOKIE_DELETE