Table of Contents

O4WCookie routine

Description

Sets or gets the cookie named in the id parameter.

Syntax

O4WCookie(id, value, expdate, exptime, path, domain)

Parameters

The function has the following parameters:

ParameterDescription
idThe name of the cookie.
valueThe value of the cookie.
expdate<Optional>The expiration date of the cookie. Should be passed in internal format.
exptime<Optional>The expiration time of the cookie. Should be passed in internal format.
path<Optional>The path to the cookie.
domain<Optional>The domain of the cookie.

Remarks

To retrieve the value of the cookie, pass only the ID and the value will be returned. If value and other optional parameters are set then the cookie set.