Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of justin fielding  >  DB Sessions  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example of invoking sessions
Class: DB Sessions
Manage sessions storing in a database with PEAR DB
Author: By
Last change:
Date: 10 years ago
Size: 200 bytes
 

Contents

Class file image Download
<?php
/*
Example of use, $db is your PEAR DB handler
previously created.
*/
require("sessionclass.php");
$session = new session($db);
session_start();

//Now use php sessions as usual

?>