Dear Php Experts
I created few php file :
Login Page - loginform.php
this page takes user id and password and fetch department from database then it post them to :
Checking File - userchek.php
where session is created if id password and every think goes fine other wise login failed message displayed. And if it is valid user then they goes to:
Main Page - member.php
Every thing is OK. My problem is
But if user click on back button of browser then it goes back to login page and again if user click on browser forward button it comes back to Main page without verification. Now I want help to manage these two bowser buttons.
Means after login if user go back then they should not get the Main page without login.
How can I do this Can any one guide me.
Thank you for your guidence in advance
Please see the attached file for code