Docs Goabase

Session
in package

Table of Contents

Methods

getArrVal()  : mixed
Reads $_SESSION[$arr][$key]
getUser()  : array<string|int, mixed>
getUserVal()  : mixed
Reads $_SESSION['saUser'][$key]
getVal()  : mixed
Reads $_SESSION[$key] $key "*" returns complete $_SESSION
isKey()  : mixed
Reads $_SESSION[$key]
isUser()  : bool
setArrVal()  : void
Writes $_SESSION[$arr][$key] = $val;
setUserVal()  : void
Get a value of $_SESSION['saUser'][$key]
setVal()  : void
Writes $_SESSION[$key] = $val;
startSession()  : void
unsetArrVal()  : void
unset($_SESSION[$arr][$key])
unsetVal()  : void
unset($_SESSION[$key])
unsetVariables()  : void
removeDuplicateCookies()  : void
setDefSession()  : void
validSessionStart()  : void

Methods

getArrVal()

Reads $_SESSION[$arr][$key]

public static getArrVal(string $arr, string $key) : mixed
Parameters
$arr : string
$key : string

getUser()

public static getUser() : array<string|int, mixed>
Return values
array<string|int, mixed>

getUserVal()

Reads $_SESSION['saUser'][$key]

public static getUserVal(string $key) : mixed
Parameters
$key : string
  • the field of $_SESSION['saUser'][$key]

getVal()

Reads $_SESSION[$key] $key "*" returns complete $_SESSION

public static getVal(string $key) : mixed
Parameters
$key : string

isKey()

Reads $_SESSION[$key]

public static isKey(string $key) : mixed
Parameters
$key : string

isUser()

public static isUser() : bool
Return values
bool

setArrVal()

Writes $_SESSION[$arr][$key] = $val;

public static setArrVal(string $arr, string $key, mixed $val) : void
Parameters
$arr : string
$key : string
$val : mixed

setUserVal()

Get a value of $_SESSION['saUser'][$key]

public static setUserVal(string $key, mixed $val) : void
Parameters
$key : string
  • the field of $_SESSION['saUser'][$key]
$val : mixed

setVal()

Writes $_SESSION[$key] = $val;

public static setVal(string $key, mixed $val) : void
Parameters
$key : string
$val : mixed

startSession()

public static startSession(int $time, string $strUserAgent[, int $bBot = 0 ]) : void
Parameters
$time : int
$strUserAgent : string
$bBot : int = 0
Tags
throws
RandomException

unsetArrVal()

unset($_SESSION[$arr][$key])

public static unsetArrVal(string $arr, string $key) : void
Parameters
$arr : string
$key : string

unsetVal()

unset($_SESSION[$key])

public static unsetVal(string $key) : void
Parameters
$key : string

unsetVariables()

public static unsetVariables() : void

removeDuplicateCookies()

private static removeDuplicateCookies() : void

setDefSession()

private static setDefSession(int $time, string $strUserAgent[, int $bBot = 0 ]) : void
Parameters
$time : int
$strUserAgent : string
$bBot : int = 0
Tags
throws
RandomException

validSessionStart()

private static validSessionStart() : void

        
On this page

Search results