I have some knowledge of cookies and no knowledge of sessions
I have decided to go with session for a script that I am writing. I know to start a session you use session_start(). I would like to give that session to have a name.
$_Session['name'] = authorized
So every page that people go to the script calls for the authorized session name to make sure that it is valid. If it is not valid they are then routed back to the login page.
I have searched on Google for a tutorial or something that would show me with no success.