Follow up -- do _NOT_ use session_register() or session_unregister(). Don't pollute your global scope with session variables. Doing this is not only sloppy, it also introduces some security risks.
Stick with $_SESSION only.
<?php
session_start(); // required for ANY page using sessions.
$_SESSION['username'] = "nikolai";
unset($_SESSION['username']); // replaces session_unregister()
?>
Take care,
Nik
http://www.bigaction.org/