Sessions fairly easy.
Lets say you have a login page. Username and password. The basic setup.
You want to keep Username and Password from page to page once logged in.
To start a session use:
session_start();
To register the username and password simply do this:
session_register(username);
session_register(password);
(username) and (password) is the variable that was passed to it from the login form. But instead of the $ you just use the name of the variable.
So when you use (username) or (password) in the session you really are holding $username and $password.
Now you have to have the sessions on every page that you want to pass the info to.
I would use one page for all the sessions and simply include it on every page.
Do get the value simply echo the variable.
echo $username;
echo $password;
If you want to know how to check to see if the session is valid then let me know. That is easy as well.
Let me know if that helps