This is a discussion on login redirect error within the PHP Language forums, part of the PHP Programming Forums category; Hello. I just wondered if you can spot why one of my pages doesn't redirect correctly? I have restricted ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello.
I just wondered if you can spot why one of my pages doesn't redirect correctly? I have restricted access to the Country Profiles section in the left hand navigation based on whether you're registered or not. When I click on Country Profiles it comes up with the login page no problem. If I haven't already registered and I do, that's also no problem. However when I login, it doesn't redirect me to the country profiles page where I wanted to go, instead it takes me back to the login page. http://thefutureisbright-thefutureis...land/index.php I have made new pages for the code contained in the login.php page and the profiles.php pages in the following locations: http://thefutureisbright-thefutureis...login_text.php http://thefutureisbright-thefutureis...files_text.php If you can help spot what may be wrong I'd be very grateful. Perhaps it is Dreamweaver generating strange redirection code? I did have a problem with my headers but I took out all the blank lines and white space and that now works okay. It's strange how it doesn't like it with space, it is a lot easier to work when all the different parts of your code are separated. Anyway thanks very much for any help on this John |