Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 377 Bytes

File metadata and controls

18 lines (12 loc) · 377 Bytes

PdoSqliteSessionHandler

PHP Session Handler using a SQLite Database

require_once "PdoSqliteSessionHandler.php";

PdoSqliteSessionHandler::register();
session_start();

var_dump($_SESSION, session_save_path());

$_SESSION["color"] = "blue";
$_SESSION["animal"] = "elephant";

// Reload the page and the variables should be set in the var_dump.