NativeProxy
class NativeProxy extends AbstractProxy
NativeProxy.
This proxy is built-in session handlers in PHP 5.3.x
Methods
bool
isSessionHandlerInterface()
Is this proxy handler and instance of \SessionHandlerInterface.
from AbstractProxy
bool
isWrapper()
Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.
__construct()
Constructor.
Details
in AbstractProxy at line line 43
string
getSaveHandlerName()
Gets the session.save_handler name.
in AbstractProxy at line line 53
bool
isSessionHandlerInterface()
Is this proxy handler and instance of \SessionHandlerInterface.
at line line 37
bool
isWrapper()
Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.
in AbstractProxy at line line 73
bool
isActive()
Has a session started?
in AbstractProxy at line line 94
setActive(bool $flag)
Sets the active flag.
Has no effect under PHP 5.4+ as status is detected automatically in isActive()
in AbstractProxy at line line 108
string
getId()
Gets the session ID.
in AbstractProxy at line line 120
setId(string $id)
Sets the session ID.
in AbstractProxy at line line 134
string
getName()
Gets the session name.
in AbstractProxy at line line 146
setName(string $name)
Sets the session name.
at line line 26
__construct()
Constructor.