[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Part of the Joomla Framework Session Package
Copyright: | Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved. |
License: | GNU General Public License version 2 or later; see LICENSE |
File Size: | 172 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
RedisHandler:: (8 methods):
__construct()
close()
destroy()
gc()
isSupported()
open()
read()
write()
Class: RedisHandler - X-Ref
Redis session storage handler__construct(\Redis $redis, array $options = []) X-Ref |
Constructor param: \Redis $redis A Redis instance param: array $options Associative array of options to configure the handler |
close() X-Ref |
Close the session return: boolean True on success, false otherwise |
destroy($session_id) X-Ref |
Destroy a session, called automatically when running session_regenerate_id(). param: integer $session_id The session ID being destroyed return: boolean True on success, false otherwise |
gc($maxlifetime) X-Ref |
Cleanup old sessions param: integer $maxlifetime Sessions that have not updated for the last maxlifetime seconds will be removed return: boolean True on success, false otherwise |
isSupported() X-Ref |
Test to see if the HandlerInterface is available return: boolean True on success, false otherwise |
open($save_path, $session_id) X-Ref |
Initialize session param: string $save_path The path where to store/retrieve the session param: string $session_id The session id return: boolean True on success, false otherwise |
read($session_id) X-Ref |
Read session data param: string $session_id The session id to read data for return: string The session data |
write($session_id, $session_data) X-Ref |
Write session data param: string $session_id The session id param: string $session_data The encoded session data return: boolean True on success, false otherwise |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |