login.php page is viewed when user hits back button

Problems with the Windows version of XAMPP, questions, comments, and anything related.

login.php page is viewed when user hits back button

Postby oculus » 04. June 2009 08:12

Hi, I'm having trouble with this. I created login.php and when the user is logged in successfully, he is able to be redirected to the index.php. Visitors can't access index.php unless authenticated and successfully logged in from the login.php. Now the problem is that, when a user hits "back button" or types the URL ...login.php, he can still view the login form. I'm trying not to allow such action. Is it possible to redirect the user to the index.php when he accesses the login.php?

Answers are much appreciated. Thanks ;-)
oculus
 
Posts: 18
Joined: 11. May 2009 10:16

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 106 guests