Cookies Library new_cookie() Data library
Programming guideline of WinDom

set_cookie()

NAME

set_cookie() - set a cookie in the cookiejar.

PROTOTYPAGE

int *set_cookie( long cookie, long value);

PARAMETERS

cookie:
cookie identificator,

value:
new cookie value,

return:
0 si error (cookie not found), 1 if no error

DESCRIPTION

set_cookie() sets a new value of a cookie. If the cookie is not found, it is not created.

SEE ALSO

new_cookie().