+ 1
Disable user to go back to the last page
I made a register system. After registration user will be directed to the registration complete page where there is link called "login" witch will direct them to the login. Once they are there they can just click the "back" arrow on their browser and get back to the "registerSuccessful" page. My question is... How to make them unable to go back to the page like that and only show them the page after registration?
2 odpowiedzi
+ 2
Use $_SESSION array to control it.
+ 1
Thank you so much. In the end of registration I just create a new session veriable and in the register_success I can just control it and then destroy it :D