WTSession Class
The class to contain the session functions
Item Index
Methods
- get static
- getSessionData static
- getValue
- set static
- setValue
Methods
get
(
static
-
name
Get the value of a session variable
Parameters:
-
nameStringThe name of the session variable
getSessionData
()
static
Get all session data as an associative array
getValue
(
private
-
name
Get the value of a session variable
Parameters:
-
nameStringThe name of the session variable
set
(
static
-
name -
value
Set a session variable
Parameters:
-
nameStringThe name of the session variable
-
valueStringThe value of the session variable
setValue
(
private
-
name -
value
Set a session variable
Parameters:
-
nameStringThe name of the session variable
-
valueStringThe value of the session variable
