I am trying to create a site that requires visitors to login to their user accounts for full functionality, similar to way this site does. I have created the login functions and user registration functions, but I'm trying to create the function the maintains the user's login session no matter what page on the site they go to. If someone could point me in the right direction I would appreciate it.