#include <cgiCookie.h>


Public Member Functions | |
| cgiCookie () | |
| virtual | ~cgiCookie () |
| string & | setTimeout (int month, int day, int year, int hour, int minute) |
| string & | setPath (const char *path) |
| string & | setDomain (const char *domain) |
| bool | set (const char *name, const char *value) |
| string & | get (const char *key) |
| aString & | allCookies (void) |
| void | setAllCookies (void) |
| cgiCookie () | |
| virtual | ~cgiCookie () |
| string & | setTimeout (int month, int day, int year, int hour, int minute) |
| string & | setPath (const char *path) |
| string & | setDomain (const char *domain) |
| bool | set (const char *name, const char *value) |
| string & | get (const char *key) |
| aString & | allCookies (void) |
| void | setAllCookies (void) |
Private Attributes | |
| tm | m_tm |
| string | m_strExpires |
| string | m_strPath |
| string | m_strDomain |
| aString | m_strCookies |
| queryStringMap | cookieMap |
| string | m_strGotCookie |
Definition at line 8 of file cgiCookie.h.
| cgiCookie::cgiCookie | ( | ) |
Definition at line 3 of file cgiCookie.cpp.
References aString::both, cookieMap, m_strCookies, aString::replaceFoundWith(), aString::str(), aString::token(), and aString::trim().
| cgiCookie::~cgiCookie | ( | ) | [virtual] |
Definition at line 34 of file cgiCookie.cpp.
| cgiCookie::cgiCookie | ( | ) |
| virtual cgiCookie::~cgiCookie | ( | ) | [virtual] |
| string & cgiCookie::setTimeout | ( | int | month, | |
| int | day, | |||
| int | year, | |||
| int | hour, | |||
| int | minute | |||
| ) |
Definition at line 36 of file cgiCookie.cpp.
References m_strExpires, and m_tm.
Referenced by check(), cookieTesting(), Session_Obj::killCookie(), and openLogin::setCookieValue().
| string & cgiCookie::setPath | ( | const char * | path | ) |
Definition at line 66 of file cgiCookie.cpp.
References m_strPath.
Referenced by uiShoppingCart::addNewCart(), check(), userLogin::checkUser(), openLogin::checkUser(), controlLayout::controlLayout(), cookieTesting(), crtidFixup(), currentSite(), site_pick::getSiteOptions(), Session_Obj::killCookie(), Session_Obj::Session_Obj(), openLogin::signOff(), siteFocus(), and uiShoppingCart::uiShoppingCart().
| string & cgiCookie::setDomain | ( | const char * | domain | ) |
| bool cgiCookie::set | ( | const char * | name, | |
| const char * | value | |||
| ) |
Definition at line 78 of file cgiCookie.cpp.
References cookieMap, cgiBase::endLine, m_strDomain, m_strExpires, m_strPath, and aString::replaceFoundWith().
Referenced by uiShoppingCart::addNewCart(), check(), cookieTesting(), crtidFixup(), currentSite(), site_pick::getSiteOptions(), Session_Obj::killCookie(), list_base::reset(), Session_Obj::Session_Obj(), openLogin::setCookieValue(), list_base::setFilter(), list_base::setSort(), and uiShoppingCart::uiShoppingCart().
| string & cgiCookie::get | ( | const char * | key | ) |
Definition at line 107 of file cgiCookie.cpp.
References cookieMap, and m_strGotCookie.
Referenced by controlLayout::controlLayout(), currentSite(), forms_base::getInstructions(), main(), Session_Obj::Session_Obj(), list_base::setFilter(), setKey(), list_base::setPage(), list_base::setSort(), siteFocus(), openLogin::testLoginStatus(), and uiShoppingCart::uiShoppingCart().
| aString & cgiCookie::allCookies | ( | void | ) |
| void cgiCookie::setAllCookies | ( | void | ) |
Definition at line 51 of file cgiCookie.cpp.
References aString::c_str(), cookieMap, and m_strCookies.
| string& cgiCookie::setTimeout | ( | int | month, | |
| int | day, | |||
| int | year, | |||
| int | hour, | |||
| int | minute | |||
| ) |
| string& cgiCookie::setPath | ( | const char * | path | ) |
| string& cgiCookie::setDomain | ( | const char * | domain | ) |
| bool cgiCookie::set | ( | const char * | name, | |
| const char * | value | |||
| ) |
| string& cgiCookie::get | ( | const char * | key | ) |
| aString& cgiCookie::allCookies | ( | void | ) |
| void cgiCookie::setAllCookies | ( | void | ) |
tm cgiCookie::m_tm [private] |
string cgiCookie::m_strExpires [private] |
string cgiCookie::m_strPath [private] |
string cgiCookie::m_strDomain [private] |
aString cgiCookie::m_strCookies [private] |
Definition at line 16 of file cgiCookie.h.
Referenced by allCookies(), cgiCookie(), and setAllCookies().
queryStringMap cgiCookie::cookieMap [private] |
Definition at line 17 of file cgiCookie.h.
Referenced by cgiCookie(), get(), set(), and setAllCookies().
string cgiCookie::m_strGotCookie [private] |
1.5.5