A good place to start would be the manual's chapter on [man]sessions[/man].
Five second outline: on each page using sessions start with
session_start();
To put something into a session variable write
$_SESSION['variable'] = $something;
To get it out again on a later page:
$something = $_SESSION['variable'];