creates a web session to authorize a customer More...
Public Member Functions | |
logout () | |
logs the customer out | |
Static Public Member Functions | |
static | getNewSessionId () |
static | getOrCreateWebSession () |
if the cookie exists: gets the current web session, if not: creates it |
creates a web session to authorize a customer
static WOWebSession::getNewSessionId | ( | ) | [static] |
References getCode39ID(), and WTwebsession::getFromDB().
Referenced by WTwebsession::newKey().
static WOWebSession::getOrCreateWebSession | ( | ) | [static] |
if the cookie exists: gets the current web session, if not: creates it
References $db, $WebSessionTimeout, WOWebSessionAbstract::fromTablewebsession(), WTwebsession::getFromDB(), and WTwebsession::newRow().
Referenced by WOCustomer::checkLogin(), WOCustomer::loginPage(), and WOCustomer::registerCustomer().
WOWebSession::logout | ( | ) |
logs the customer out
References $db, and redirectHome().