Create an Auth Token
(Chapter 4, Sessions and Cookies - Pg 49)
<?php
$string = $_SERVER['HTTP_USER_AGENT'];
$string .= 'SHIFLETT';
$auth = md5($string);
$_SESSION['auth'] = $auth;
$_SESSION['auth_time'] = time();
output_add_rewrite_var('auth', $auth);
?>