Content-Type: text/html
####
Content-Type: text/html
Cookie: cookie-data-here
####
Redirect: http://www.my.other.url/
####
Create $cgi variable
Check for existing and valid cookie
--> if so, print $cgi->redirect() to new page, optionally refreshing their cookie
Check for CGI parameters from login form
--> if valid, print $cgi->redirect() to new page, and create
new cookie for them
# At this point, if no valid cookie and no valid login, they will need to relogin
print $cgi->header();
print login form;
print optional link to creating account