DoDomuDojade Documentation

SessionHelper
in package

Read onlyYes
FinalYes

Helper for interacting with session

Table of Contents

Methods

destroy()  : void
get()  : mixed
has()  : bool
regenerateId()  : void
remove()  : void
set()  : void
setWithFingerprint()  : void
start()  : void
validateFingerprint()  : bool

Methods

get()

public static get(string $key[, mixed $default = null ]) : mixed
Parameters
$key : string
$default : mixed = null

has()

public static has(string $key) : bool
Parameters
$key : string
Return values
bool

regenerateId()

public static regenerateId([bool $deleteOldSession = true ]) : void
Parameters
$deleteOldSession : bool = true

remove()

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

set()

public static set(string $key, mixed $value) : void
Parameters
$key : string
$value : mixed

setWithFingerprint()

public static setWithFingerprint(string $key, mixed $value) : void
Parameters
$key : string
$value : mixed

validateFingerprint()

public static validateFingerprint() : bool
Return values
bool

        
On this page

Search results