PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I built a authentication database with MySQL 5.0.3 and PHP 4.3.12 dev using Apache2 and when I get to login page and submit my user and pass the database sees my authentication, but then i am supposed to go to anoth session of the site. Instead the login session keeps looping back to login again. I need help...
This assumes that you are posting the data from a form. If your sessions aren't being set to a value then when you go to the next page and it checks the isset($_SESSION['admin_pass'] then it will return null
if $_SESSION['admin_logged'] or $_SESSION['admin_password'] have not been set to a value then that is why you are being logged out even if the member enters the correct login information.