cgi_cookie_clear (3) - Linux Manuals

cgi_cookie_clear: clear browser cookie

NAME

cgi_cookie_clear - clear browser cookie

SYNOPSIS

#include <cgi/cgi.h>

NEOERR *cgi_cookie_clear (CGI *cgi, const char *name, const char *domain, 
                          const char *path);

ARGUMENTS

cgi - a CGI struct
name - the cookie name to clear
domain - the domain to clear, NULL for none
path - the cookie's path

DESCRIPTION

cgi_cookie_clear will send back a Set-Cookie string that will attempt to stop a browser from continuing to send back a cookie. Note that the cookie has to match in name, domain, and path, and the luck of the Irish has to be with you for this work all the time, but at the least it will make the browser send back a cookie with no value, which the ClearSilver cookie parsing code will ignore.

RETURN VALUE

None