There is three pages say step1.php, progress.php, step2.php
the flow is step1-> progress-> step2
So once we reach at step2 and press browser back button, it will go to progress page.
I wants it should go to step1, while clicking the back button of browser,on step2
What you can do, is check in progress page if it’s from step1. If yes, ok, otherwise redirect the user to step1.