DatabaseSessionHandler (Session)
DatabaseSessionHandler
class DatabaseSessionHandler implements SessionHandlerInterface, ExistenceAwareInterface (View source)
Methods
void | __construct( ConnectionInterface $connection, string $table) Create a new database session handler instance. | |
open($savePath, $sessionName) | ||
close() | ||
read($sessionId) | ||
write($sessionId, $data) | ||
destroy($sessionId) | ||
gc($lifetime) | ||
SessionHandlerInterface | setExists( bool $value) Set the existence state for the session. |
Details
void __construct( ConnectionInterface $connection, string $table)
Create a new database session handler instance.
open($savePath, $sessionName)
close()
read($sessionId)
write($sessionId, $data)
destroy($sessionId)
gc($lifetime)
SessionHandlerInterface setExists( bool $value)
Set the existence state for the session.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Session/DatabaseSessionHandler.html