You need to use session_start() on every page you use sessions.
After that, the easiest way to add a session variable is to go
$_SESSION['[i]variable_name[/i]'] = "some value";
to use it:
echo $_SESSION['[i]variable_name[/i]'];
and to destroy it:
$_SESSION['[i]variable_name[/i]']=null;
...but most of this is covered in the PHP manual's chapter on sessions, along where [man]session_destroy[/man] is also mentioned, so I guess you must already know it.