cgi_cookie_authority(3)

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.

  1. 4.0
  2. 5.0
  3. 6.0–13

From clearsilver-dev 0.10.5-6+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.