interface SessionManagementInterface

Interface for XELOS Specific Session Handlers

Methods

bool
connect()

Connect the Session Storage Handler and register via session_set_save_handler

array
get_current_sessions()

Returns an array with current (unexpired) user sessions containing at least the fields SESSION_ID, USER_ID More fields are possible but not required (depends on session handler)

logout_all_users()

Logsout all current user sessions (Destroys ALL sessions)

logout_user($user_ids)

Logout specific users(Destroys a specific Session)

Details

at line 35
bool connect()

Connect the Session Storage Handler and register via session_set_save_handler

Return Value

bool

True if Handler is available and successfully connected, false otherwise

at line 29
array get_current_sessions()

Returns an array with current (unexpired) user sessions containing at least the fields SESSION_ID, USER_ID More fields are possible but not required (depends on session handler)

Return Value

array

at line 16
logout_all_users()

Logsout all current user sessions (Destroys ALL sessions)

at line 22
logout_user($user_ids)

Logout specific users(Destroys a specific Session)

Parameters

$user_ids