* @copyright 2004 http://www.php-tools.net
* @license LGPL
**/
// load error handler
include_once './_error.php';
include_once '../patSession.php';
// avoid output until cookies are set
ob_start();
echo '
Create some patSession objects...
';
echo '- create standard-object
';
$sess1 =& patSession::create();
echo '- use a different name
';
$sess2 =& patSession::create( 'second' );
echo '- select a storage module
';
$sess3 =& patSession::create( 'third', 'Native' );
echo '- set some options
';
$sess4 =& patSession::create( 'fourth', 'Native', array( 'expire' => 10, 'cookie' => 'ini' ) );
echo '
...all done.
';
ob_end_flush();
?>