PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Antoine Aflalo   My Session Manager   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: how to use the class
Class: My Session Manager
Manipulate session variables with encrypted values
Author: By
Last change:
Date: 13 years ago
Size: 550 bytes


Class file image Download
require_once 'SessionManager.class.php';
//Creating the SessionManager object
//adding a variable to the session

//get the var

//check if the var is set

//regen an ID with deleting the old one

//delete the session and the session cookie.

//Imagine that's an another page just do
//to get the SessionManager, with all the config.