WEBDEV Concepts

146 Part 4: Advanced concepts Security benefit: managing the "Back" button A browser allows you to navigate through the different pages of a site using the "Next" and "Back" buttons. A specific page context is created on the server whenever a new Session page is displayed in the browser. When the same Session page is used to display different data (page with table based on a data file, loopers or "Form with browse" page, etc.), the page context on the server changes according to the data displayed. When the user clicks the "Back" button, the browser does not inform the site or the server. The browser goes back to the previous page without the corresponding context . No specific management is required when using a "Back" operation to go from one page to another. A specific management is required when the same Session page displays different data. Why manage the "Back" button? A simple example... To understand why the "Back" button must be managed, let’s take a look at a simple example: a Session page that displays the list of suppliers. Step 1: Displaying the list of suppliers The context contains the list of suppliers displayed in the Table control.

RkJQdWJsaXNoZXIy NDQ0OA==