Lines Matching defs:cookie
31 * Write an RFC2109 compliant cookie.
34 * @param name The name of the cookie.
35 * @param val The value to place in the cookie.
36 * @param attrs The string containing additional cookie attributes. If NULL, the
38 * @param maxage If non zero, a Max-Age header will be added to the cookie.
55 /* create RFC2109 compliant cookie */
59 "user '%s' set cookie: '%s'", r->user, rfc2109);
61 /* write the cookie to the header table(s) provided */
73 * Write an RFC2965 compliant cookie.
76 * @param name2 The name of the cookie.
77 * @param val The value to place in the cookie.
78 * @param attrs2 The string containing additional cookie attributes. If NULL, the
80 * @param maxage If non zero, a Max-Age header will be added to the cookie.
97 /* create RFC2965 compliant cookie */
103 /* write the cookie to the header table(s) provided */
115 * Remove an RFC2109 compliant cookie.
118 * @param name The name of the cookie.
125 /* create RFC2109 compliant cookie */
129 "user '%s' removed cookie: '%s'", r->user, rfc2109);
131 /* write the cookie to the header table(s) provided */
143 * Remove an RFC2965 compliant cookie.
146 * @param name2 The name of the cookie.
153 /* create RFC2965 compliant cookie */
159 /* write the cookie to the header table(s) provided */
170 /* Iterate through the cookies, isolate our cookie and then remove it.
172 * If our cookie appears two or more times, but with different values,
174 * $path or other attributes following our cookie if present. If we end
175 * up with an empty cookie, remove the whole header.
180 char *cookie = apr_pstrdup(v->r->pool, val);
191 /* find the cookie called name */
193 next1 = apr_strtok(cookie, comma, &last1);
236 * Read a cookie called name, placing its value in val.
238 * Both the Cookie and Cookie2 headers are scanned for the cookie.
240 * If the cookie is duplicated, this function returns APR_EGENERAL. If found,
241 * and if remove is non zero, the cookie will be removed from the headers, and
260 "client submitted cookie '%s' more than once: %s", v.name, r->uri);
264 /* remove our cookie(s), and replace them */
281 * It is used to sanity check the cookie names.