<<

Contents

Search

>>

 

HTML_COOKIE_DELETE

 

 

Function

 

 

Syntax:

HTML_COOKIE_DELETE(<Cookie name>)

 

<Cookie name> = <STRING-EXPRESSION>

 

 

Meaning:

Deletes 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_DELETE 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 name> is empty.

-4

The cookie <Cookie name> does not exist.

 

Parameter:

Cookie name

Cookie name

 

Sample:

H% = HTML_COOKIE_DELETE("last_invoice")

IF H% <> 0

THEN ... error ...

ENDIF

 

See also:

HTML_COOKIE_READ$

HTML_COOKIE_WRITE