User Authentication - log in and log out
The tutorials are not helping and I am in need of help. I do not understand this mysqli server behavior, even though I have used the deprecated server behavior and that was a lot more easier.
1. I have the login but I need to set it with the users being directed to 2 different pages. On my registration form the users choose which type of user they are. One would be a candidate and the other is a company. How do I set this?
2. The logout button does not clear my sessions. I created a logout page. Am I suppose to include session start on all pages including the logout.
Please help...