I am fairly new to sessions so I have a basic question about structure.
In my script it's just a user profile that would follow them till they close the browser. It will hold their username, firstname, lastname, email, and a friends list. These variables load from a MySQL database when they first sign-in and will follow them around. I load them and then start_session() ;
session_register("username") ;
session_register("firstname") ;
session_register("lastname") ;
session_register("email") ;
session_register("friends") ;
....now the question is on every page that my site goes to do I have to have that block of code to keep my variables around? or can I just load them on the first page and forget about registering them again (unless I need to change it's value right?).....