cgi_cookie_authority3
Determine the cookie authority for a domain
Usage
#include <cgi/cgi.h>
char *cgi_cookie_authority (CGI *cgi, const char *host);
Arguments
cgi - a CGI struct
host - optional host to match against. If NULL, the function
will use the HTTP.Host HDF variable.
Overview
cgi_cookie_authority will walk the CookieAuthority portion of the CGI HDF data set, and return the matching domain if it exists. The purpose of this is so that you set domain specific cookies. For instance, you might have CookieAuthority.0 = neotonic.com In which case, any webserver using a hostname ending in neotonic.com will generate a cookie authority of neotonic.com.
Return value
None
Releases
10 releases since Debian 4.0 (Etch); the text changed 2 times.