class RedisSessionHandler implements SessionManagementInterface

A REDIS Session Session Adapter for XELOS To enable REDIS Session backend use the following config.custom options:

XF_SESSION_STORAGE = redis XF_CACHE_SERVER = redis-host[:port]

Class redis_session_handler

Properties

int $life_time

Life Time for this Session (Currently a Session specific Timeout is NOT SUPPORTED by REDIS)

Methods

__construct(Session $xf_session, DB $db)

redis_session_handler constructor.

bool
connect()

Connect to REDIS Service and Register Session Serializer in PHP if Connection was successful

array
get_current_sessions()

No description

logout_all_users()

No description

logout_user($user_ids)

No description

Details

at line 63
__construct(Session $xf_session, DB $db)

redis_session_handler constructor.

Parameters

Session $xf_session
DB $db

at line 233
bool connect()

Connect to REDIS Service and Register Session Serializer in PHP if Connection was successful

Return Value

bool

True if Handler is available and successfully connected, false otherwise

at line 201
array get_current_sessions()

No description

Return Value

array

at line 133
logout_all_users()

No description

at line 164
logout_user($user_ids)

No description

Parameters

$user_ids