You can save input data in the browser session and retrieve it from the browser session for use in interactions in your Web application. Saving and restoring data in this way eliminates the need to communicate with a program or Java bean method to retrieve the data when it is required in an interaction.
For example, assume that you are using an application that updates information for an existing customer. You start by entering a customer number on an input page and clicking Submit. The information displayed on an output page includes the customer number you entered as well as the customer name, address, and contact information. The customer number that is on this output page can be restored from the browser session rather than be returned from the program or Java bean.
You specify the save and restore options for the data in the Web Interaction wizard. The options are available in the Property areas on the following wizard pages:
When you choose to save data to the browser session, you can specify a name to associate with that data. The default is the name of the parameter or field. You enter the name in the Value field for the property Name in Session.
To save the data associated with an input or output parameter or field, select true in the list in the Value field for the Save to Session and Restore from Session properties.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.