Class DB
DB session handler class definition.
- Core\Modules\Session\Adapters\DB implements Core\Modules\Session\Interfaces\Adapter
Methods summary
public
|
|
private
boolean
|
|
public
string
|
|
public
boolean
|
|
public
boolean
|
|
private
string
|
|
private
boolean
|
|
public
boolean
|
|
private
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
mixed
|
|
public
boolean
|
|
public
string
|
|
public
|
Properties summary
private
array
|
$vars
All stored session variables. |
#
array()
|
private
object
|
$db
Instance of Database connection. |
|
private
string
|
$sessionKey
Store already set unique session ID. |
|
private
string
|
$cookie_path
The path on the server in which the cookie will be available on. |
|
private
string
|
$storageTable
Table name which store all unique session IDs. |
|
private
string
|
$storageVariablesTable
Table name which store all session variables. |
|
private static
boolean
|
$started
Flag if session has been started. |
#
false
|
private static
string
|
$ip
IP Address of client. |
#
null
|
private static
string
|
$userAgent
User Agent (OS, Browser, etc) of client. |
#
null
|