\Fuman_Session_Storage_Standard

Represents the standard session storage which uses the $_SESSION array to store its data.

Summary

Methods
Properties
Constants
getId()
getExpire()
read()
write()
delete()
close()
regenerateId()
No public properties found
No constants found
No protected methods found
$_closed
$_regenerated
N/A
No private methods found
No private properties found
N/A

Properties

$_closed

$_closed : 

Type

$_regenerated

$_regenerated : 

Type

Methods

getId()

getId() : string

Gets session id

Returns

string

getExpire()

getExpire() : integer

Get expire time in minutes

Returns

integer

read()

read(string  $sessionKey) : array|object

Reads data from $_SESSION

Parameters

string $sessionKey

Returns

array|object

write()

write(string  $sessionKey, array|null  $data = null) : void

Writes data into $_SESSION

Parameters

string $sessionKey
array|null $data

delete()

delete() : void

Deletes data from session (session_destroy())

close()

close() : void

Close session data

regenerateId()

regenerateId() : void

Regenerates the session id