Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

Session-Example

Sections:

Example code

The following code demonstrates how to use the class.

<?php
/*!***********************************************************************
 *************************************************************************
 * \file            session-sample.php
 *
 * \author          Kai Klenovsek
 *
 * \date            First Step: 2005-07-12 <br>
 *
 * \note <br>
 * \b THE \bBEER-WARE \bLICENSE <br>
 *  As long as you retain this notice you can do whatever you want with <br>
 *  this stuff. If we meet some day, and you think this stuff is worth it, <br>
 *  you can buy me a beer in return. <br>
 *
 * \b NOTES: <br>
 *  
***************************************************************************
***************************************************************************/

// First we have to inlcude the phplibex
require ("../../phplibex.inc.php");

/* Generate class object */
$session = new session( );

$session->sess_start();

echo $session->sess_getid();

$session->sess_destroy();

?>

Related links:


Generated on Fri Aug 26 08:13:54 2005 for PHP-Lib-Xtreme by  doxygen 1.4.3