\FAA\Obj\SysSession

Summary

Methods
Properties
Constants
__construct()
open()
close()
read()
write()
destroy()
GarbageCollect()
GetJwtHeader()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getHostName()
$is_oauth
N/A

Properties

$is_oauth

$is_oauth :

Type

Methods

__construct()

__construct(boolean  $is_oauth = false)

init session and setup internal properties this will also setup the cookie params

Parameters

boolean $is_oauth

Is an oauth request

open()

open(  $path,  $name)

Parameters

$path
$name

close()

close()

read()

read(  $id)

Parameters

$id

write()

write(  $id,  $data)

Parameters

$id
$data

destroy()

destroy(string  $id): boolean

Destroy session Unset session on logout

Parameters

string $id

The session to delete

Returns

boolean —

True when delete worked

GarbageCollect()

GarbageCollect(integer  $maxlifetime): boolean

Do garbage collect Empty but required interface for session handler

Parameters

integer $maxlifetime

The maximum session livetime

Returns

boolean

GetJwtHeader()

GetJwtHeader()

getHostName()

getHostName(): null|string

Get the hostname

Returns

null|string —

The hostname with at least a2 components