8.5.5.2 Clearing State with a Page Process

To clear specific session state at the end of your page's submit processing, use the native Clear Session State page process.

For example, the figure below shows how the last page of the Onboard New Employee wizard page flow can conditionally clear the page item session state on pages 43, 44, and 45 when the FINISH button is pressed, after it has successfully inserted the new employee. Notice the page process type is set to Clear Session State, the page numbers are specified as a comma-separated value, and the Server-side Condition's When Button Pressed property is set to FINISH.

Figure 8-26 Using Clear Session State Page Process