AbstractSessionHandler implements SessionHandlerInterface, SessionUpdateTimestampHandlerInterface, SessionIdInterface
AbstractYes
Table of Contents
Interfaces
- SessionHandlerInterface
- SessionUpdateTimestampHandlerInterface
- SessionIdInterface
Constants
- LOCK_ERROR_MESSAGE = 'Unable to get session lock within 60 seconds.'
Methods
- close() : bool
- create_sid() : string
- destroy() : bool
- read() : mixed
- turnOffReleaseLockAfterCloseSession() : void
- turnOnReleaseLockAfterCloseSession() : void
- validateId() : bool
- write() : bool
Constants
LOCK_ERROR_MESSAGE
public
mixed
LOCK_ERROR_MESSAGE
= 'Unable to get session lock within 60 seconds.'
Methods
close()
public
close() : bool
Return values
boolcreate_sid()
public
create_sid() : string
Return values
stringdestroy()
public
destroy(mixed $sessionId) : bool
Parameters
- $sessionId : mixed
Return values
boolread()
public
read(mixed $sessionId) : mixed
Parameters
- $sessionId : mixed
Attributes
- #[ReturnTypeWillChange]
turnOffReleaseLockAfterCloseSession()
public
turnOffReleaseLockAfterCloseSession() : void
turnOnReleaseLockAfterCloseSession()
public
turnOnReleaseLockAfterCloseSession() : void
validateId()
public
validateId(mixed $sessionId) : bool
Parameters
- $sessionId : mixed
Return values
boolwrite()
public
write(mixed $sessionId, mixed $sessionData) : bool
Parameters
- $sessionId : mixed
- $sessionData : mixed