guides:o4w:o4w_api:o4wcookie

O4WCookie routine

Sets or gets the cookie named in the id parameter.

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

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.

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.

  • guides/o4w/o4w_api/o4wcookie.txt
  • Last modified: 2024/06/19 20:19
  • by 127.0.0.1