hello,
I need a little advice or help using sessions.(I am trying to create a login page.) Anyway to my understanding(correct me if im wrong) we create a session with session_start(); that session id is stored on the server for later use,(unless the window is closed) and obiously end a session with session_destroy(); My question is when I am checking the database for the user's username and password, and the info is correct I want to start a session(right?). When I start a session are there any parameters that I can set with in session_start() that I would check later to grant access to a "members" page? If so how can I check if that session has been started.
thanks
Aswell, when I check for a session that has been started, I will grant them access, else send them to a login page, right.?