OOPS: Object Oriented Php Sessions
A custom PHP session class that uses database storage
Description
OOPS is a class for controlling sessions. It stores the session data in a database (currently only MySQL is supported) which makes it fast and secure. This class also very customizable and comes with a easy-to-use configuration file.
Examples
<?php
require_once "class.oops.php";
// start a session
$Session->start();
// read some data
$var = $Session->get_value('user');
// add some data to the session
$Session->set_value('user', 'bob');
// destroy the session
$Session->destroy();
?>
require_once "class.oops.php";
// start a session
$Session->start();
// read some data
$var = $Session->get_value('user');
// add some data to the session
$Session->set_value('user', 'bob');
// destroy the session
$Session->destroy();
?>