I am working on an application, where a user can start filling a (multipage)form and press back button to navigate to previous screen and continue button to navigate to next screen.
Currently, the page was implemented using the browser’s back capability. This causes circular reference
The Scenario is
- Navigate from page 2 to page 3 click back button on page 3
- User is now in page 2 and clickint back button pn page 2 will take it to page 3 (because of browser’s history has page 3.)
This has to be achieved by using session? How can this be implemented correctly? What options does asp.net provide?
You can save all steps in session variable, for example of type Queue. When you need return two steps back, simple, two times dequeue and go to uri.