i dont think that will unless its a hidden input which has a form and keeps going to the next page.. But i thought this was a sessions problem...
Sessions go from one page to the other so you must always keep saying
session_start(); but if a session is registered we wont need it registered again so we need to check if its registered against the session name...
im sure reading more in the manual about sessions will help you more