\Fuman_Session_Storage_TempStorage

Represents the session storage which stores data in temp folder

Summary

Methods
Properties
Constants
getId()
getExpire()
read()
write()
_write()
delete()
close()
regenerateId()
No public properties found
No constants found
_getId()
_getCookieName()
_getPath()
$_closed
$_data
N/A
No private methods found
No private properties found
N/A

Properties

$_closed

$_closed : 

Type

$_data

$_data : 

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

_write()

_write() 

delete()

delete() : void

Deletes data from session (session_destroy())

close()

close() : void

Close session data

regenerateId()

regenerateId() : void

Regenerates the session id

_getId()

_getId(boolean  $regenerate = false) : string

Gets id

Parameters

boolean $regenerate

Returns

string

_getCookieName()

_getCookieName() : string

Gets cookie name

Returns

string

_getPath()

_getPath() : string

Gets path

Returns

string