Could this be a Session issue?
I am not tot sure about the PHP implementation, but logging in with ASP works with Sessions. So, when a user is logged in, a Session variable is set. When you visit a protected page, the session variable is checked. When it exists, you can view the page, otherwise you're redirected to the login page.
So, the login page might be broken. It could be possible that it doesn't set a session variable, or that the variable is lost when you're redirected to a protected (or unprotected) page.
Can you work with sessions at all in your application?
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|