Trying placing this statement at the top of every page, after you have registered your variables.
<?php
session_start();
?>
Also remember that there can be no blank spaces at the start or end of your code. i.e. If your last line of code is line#153, that should be your last line of code. If you have one blank line (line#154) it will mess it up.
I'm a newbie too. That's my 2 cents worth of knowledge. Good luck!