#include <cookie.h>
Public Member Functions | |
| cookie (const cgi &initcgi, const std::string &name, const std::string &value="") | |
| cookie (const std::string &name, const std::string &value="") | |
| cookie (const cookie ©) | |
| ~cookie () | |
| void | setvalue (const std::string &value) |
| void | setdomain (const std::string &domain) |
| void | setpath (const std::string &path) |
| bool | setexpire (const std::string &expire) |
| void | setsecure (bool requiressl) |
| const std::string & | getname () const |
| const std::string & | getvalue () const |
| std::string | get () |
|
||||||||||||||||
|
Construct a cookie on a cgi session. The cgi session will be used to prepopulate domain and path.
|
|
||||||||||||
|
Construct a basic cookie.
|
|
|
Construct a copy of another cookie.
|
|
|
Destroy *this instance of cookie. |
|
|
Get the formatted cookie header of the form: Set-Cookie: NAME=VALUE; expire=DATE; path=PATH; domain=DOMAIN_NAME; secure
|
|
|
Get the name of this cookie.
|
|
|
Get the value of this cookie.
|
|
|
The the domain of this cookie.
|
|
|
Set the expiration date and time for this cookie.
|
|
|
Set the path of this cookie.
|
|
|
Specify whether this cookie requires an ssl connection in order for the client to transmit this cookie.
|
|
|
Set the value of this cookie.
|
1.3.3