* @copyright 2004 http://www.php-tools.net * @license LGPL */ // load error handler include_once './_error.php'; // include factory/loader include_once '../patSession.php'; $sess =& patSession::singleton( 'ham' ); ?>
patSession uses the namespace "patSession" to store some internal values in the session container. In other words your application has to share the container with patSession itself. To avoid conflicts (overwriting values in session container) make sure you don't use the namespace "patSession". In other words, you are save as long as you don't use value names starting with "patSession:"
For example, patSession stores the recent access time in value named atime.
get( 'patSession:atime' );
echo "patSession:atime $atime
";
?>