I have been using my MacBook and MAMP to create a simple login with PHP/MySQL. The login works fine and I can get to the 'restricted' page. Session variables all work and I can log out no problems. I moved the site to my testing computer that is WindowsXP with PHP and MySQL on it. The page to login comes up, I can login but I am redirected to the login page as if I am not. If I type an incorrect password, the page tells me that I have an incorrect password. It's like I am successfully passing the credentials, but the _SESSION is not getting set correctly and the page that checks that you have logged into is redirecting me back to log in.
Any ideas?
If you need more info I'll gladly provide it.
No, it's not cookies.
Any ideas?
If you need more info I'll gladly provide it.
No, it's not cookies.