I heard that this is bad idea but I'll try to explain what I want to achieve:
On my site a user fills some information and then goes to another service which handles user payment. So after the user pays using credit card he got redirected to special $successUrl
again to my site where he sees successful payment message. My boss wants that after payment if the user clicks back button (being on success page) instead of going to payment service again he have to be redirected to main page.
How to achieve that? I can't thought of a good solution. Only something like catch back button event on this page and redirect to index page