ICI Modules: cgi: setcookie
Modules by name : by typeSynopsis
cgi.setcookie(string [, string ])Description
Set the cookie in the HTTP reply to the specified string. The second, optional argument if given is the cookie options (such as an expiration date) which are output if given. This function should only be called prior to claling cgi.end_reply_header().
Also See