Login   Register  
PHP Classes
elePHPant
Icontem

File: ex1.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2008-11-11 11:41
Size: 227 bytes
 

Contents

Class file image Download
<?php
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"