SessionUpdateTimestampHandlerInterface
interface SessionUpdateTimestampHandlerInterface (View source)
SessionUpdateTimestampHandlerInterface is an interface which defines a prototype for updating the life time of an existing session.
In order to use the lazy_write option must be enabled and a custom session handler must implement this interface.
Methods
bool
validateId(string $id)
Validate session id
bool
updateTimestamp(string $id, string $data)
Update timestamp of a session
Details
bool
validateId(string $id)
Validate session id
bool
updateTimestamp(string $id, string $data)
Update timestamp of a session