Thank for the response
That is exactly what i want to do. However i do not know how to code in such away when the backbutton on the browser(not the webpage) is click it will redirect to the next page.
What is the code for button button on the backbutton is clicked?
I have seen certain website that able to make such feature that when the back button is click it will redirect the user to another page instead the previous one. How did they do it?