WIKINDX API 6.4.9

SESSIONHANDLERS.php

Table of Contents

wkx_session_set_db_handler()  : mixed
Set a db handler for session storage in session table
wkx_session_set_file_handler()  : mixed
Set the default file handler for session storage
wkx_session_open()  : bool
wkx_session_close()  : bool
wkx_session_read()  : string
wkx_session_write()  : bool
wkx_session_destroy()  : bool
wkx_session_gc()  : bool

Functions

wkx_session_set_db_handler()

Set a db handler for session storage in session table

wkx_session_set_db_handler() : mixed

The creation of the identifiers is left to PHP.

cf. https://www.php.net/manual/en/function.session-set-save-handler.php

wkx_session_set_file_handler()

Set the default file handler for session storage

wkx_session_set_file_handler() : mixed

wkx_session_open()

wkx_session_open(string $savePath, string $sessionName) : bool
Parameters
$savePath : string
$sessionName : string

wkx_session_read()

wkx_session_read(string $sessionId) : string
Parameters
$sessionId : string

wkx_session_write()

wkx_session_write(string $sessionId, string $sessionData) : bool
Parameters
$sessionId : string
$sessionData : string

wkx_session_destroy()

wkx_session_destroy(string $sessionId) : bool
Parameters
$sessionId : string

wkx_session_gc()

wkx_session_gc(int $maxSessionLifetime) : bool
Parameters
$maxSessionLifetime : int

Search results