CookieField32 structure
Contains information about a cookie.Syntax
typedef struct CookieField32{
struct CookieField32 *nextCookie;
int flags;
char *name;
char *value;
char *domain;
char *path;
long long *expires;
} CookieField32;
Members
nextCookie A pointer to the next CookieField32 structure.
flags This parameter can be zero or a combination of the following values.
Value | Meaning |
CF_SECURE 0x1 | Send the secure attribute (section 5.2.5).
|
CF_HTTP_ONLY 0x2 | Send the http only attribute (section 5.2.6).
|
CF_DONT_ESCAPE_VALUE 0x4 | The special characters in the value hold by member value are already escaped. The value can be send without replacing the special characters.
|
CF_DONT_ESCAPE_PATH 0x8 | The special characters in the value hold by member path are already escaped. The value can be send without replacing the special characters.
|
CF_SEND_EXPIRES_DATE 0x10 | Send the expires attribute (section 5.2.1).
|
name A pointer to a null-terminated string conaining a name or an integer if flag GDPD_NAME_IS_INTEGER is set to identify the data.
value A pointer to a null-terminated string conaining the value of the cookie. Special characters are allowed and will automatically be escaped, unless flag CF_DONT_ESCAPE_VALUE is set.
domain A pointer to a null-terminated string conaining the domain where the client should identify itself to.
path A pointer to a null-terminated string conaining the path where the cookie is valid. Special characters are allowed and will automatically be escaped, unless flag CF_DONT_ESCAPE_PATH is set.
expires A pointer to a long long containing a number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970, not counting leap seconds. This number represents the value for the 'Expires' field. Function FormatDateTime can be used to create a valid value. This member is ignored if flag CF_SEND_EXPIRES_DATE is not set.
Requirements
Minimum supported API | 1.00
|
Header | tvs_server_http_protocol.h
|