Problem with redirecting to login page
Posted: Mon Oct 20, 2003 10:22 am
Could anyone help..... I have written a simple login script that requires a username and password to be entered, this information is then passed to the main page of my application. Within the main page it connects the database and checks the username and password, if they do not match it redirects back to login page (this works fine).
The problem comes when I need to navigate back to my main page from a different page using a link. It then takes me back to my login page rather than the main page as specified in my link. I assume it is doing this because information is required to be posted from my login page to the main page? Is this the case? If so, is there anyway around it not going back to the login page each time?
Cheers
Simon
The problem comes when I need to navigate back to my main page from a different page using a link. It then takes me back to my login page rather than the main page as specified in my link. I assume it is doing this because information is required to be posted from my login page to the main page? Is this the case? If so, is there anyway around it not going back to the login page each time?
Cheers
Simon