\JSessionStorage
Custom session storage handler for PHP
Synopsis
class JSessionStorage
{
- // members
- protected $instances;
- // methods
- public void __construct()
- public static JSessionStorage getInstance()
- public void register()
- public boolean open()
- public boolean close()
- public string read()
- public boolean write()
- public boolean destroy()
- public boolean gc()
- public static boolean isSupported()
- public static boolean test()
Hierarchy
Extended by
Tasks
Tasks
Line | Task |
---|---|
21+ | When dropping compatibility with PHP 5.3 use the SessionHandlerInterface and the SessionHandler class |
Members
protected
- $instances — array
Methods
public
- __construct() — Constructor
- close() — Close the SessionHandler backend.
- destroy() — Destroy the data for a particular session identifier in the SessionHandler backend.
- gc() — Garbage collect stale sessions from the SessionHandler backend.
- getInstance() — Returns a session storage handler object, only creating it if it doesn't already exist.
- isSupported() — Test to see if the SessionHandler is available.
- open() — Open the SessionHandler backend.
- read() — Read the data for a particular session identifier from the SessionHandler backend.
- register() — Register the functions of this class with PHP's session handler
- test() — Test to see if the SessionHandler is available.
- write() — Write session data to the SessionHandler backend.