PHP Classes

File: ex1.php

Recommend this page to a friend!
  Classes of Mike Frank   Secure Session Class   ex1.php   Download  
File: ex1.php
Role: Example script
Content type: text/plain
Description: Example
Class: Secure Session Class
Set and get session variables using encryption
Author: By
Last change:
Date: 15 years ago
Size: 227 bytes


Class file image Download
require 'class.eyesecuresession.phps';

// Create a session
$ses = new EyeSecureSession('somepassword');

// Store a value
$ses->set('name', 'Lois');

// Retrieve a value
echo $ses->get('name'); // prints "Lois"