cgi_cookie_authority3
Determine the cookie authority for a domain
Usage
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
History
- Debian 13 (Trixie) to Debian 6.0 (Squeeze): the text shown here
- Debian 5.0 (Lenny)
- Debian 4.0 (Etch)