LJ::make_cookie — Prepares cookie header lines.
LJ::make_cookie(name, value, expires, path, domain);
name. The name of the cookie.
value. The value to set the cookie to.
expires. The time (in seconds) when the cookie is supposed to expire. Set this to 0 to expire when the browser closes. Set it to undef to delete the cookie.
path. The directory path to bind the cookie to.
domain. The domain (or domains) to bind the cookie to.
An array of cookie lines.