* @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(
'security' => 'fix_browser',
);
// most easy way to create a session object
$sess =& patSession::singleton( 'ham', 'Native', $options );
$queryString = $sess->getQueryString();
?>
Use the 'security' option if you need to customize the session-fixiation-features of patSession.
By default (for maximum security) the session will fixed to browser, ip and referer. If any
security-check fails all session values will be cleared and the session itself will switch to a
different state (not active).
Current options passed to session: