* @copyright 2004 http://www.php-tools.net * @license LGPL **/ // load error handler include_once './_error.php'; // include factory/loader include_once '../patSession.php'; $options = array( 'name' => 'psid', 'id' => 'VeryStrangeSessionId', 'id-prefix' => '01x', 'expire' => 5, 'security' => 'fix-browser,fix-ip,fix-referer', 'allowed-referer' => '*.php-tools.net,*.php-tools.de', 'empty-referer' => 'deny', 'cookie' => 'allow' ); $sess =& patSession::singleton( 'ham', 'Native', $options ); ?> Standard-options are independent of the storage-module. List of available standard-options:

Current options:
'; print_r( $options ); echo ''; // get query string echo '
Recieve session-query-string, this can be used like the PHP-constant "SID"
'; $queryString = $sess->SID; echo 'Query-string ' . $queryString . ' from this session.
'; echo 'This URL contains the query-string
'; ?>