web.server.api.SetCookie

SetCookie is available since version 1.0.

Prototype:

null-returned SetCookie(string name, string cvalue, number exp_days, string path, string domain, string secure)

Parameters

name
cookie variable name
cvalue
cookie variable value
exp_days
days to expiration
path
cookie path
domain
the domain associated with the cookie
secure
security settings, eg: "SECURE"

Description:

Sets up those cookies that correspond to name=value.

Return value:

Returns null.