Maintaining the application state

As a user moves from one Web page to another, you need to keep track of what the user has done on the previous page and make data available for what the user is able to do on the next page—maintaining the application state. In desktop Web applications, this is usually accomplished by storing values in cookies.

In the M-Business Anywhere environment, cookies are stored on M-Business Server, which uses them in communicating with your channel's Web server. These cookies are not available on the device and so cannot be used to maintain the application state. In place of cookies, several other methods are available for this purpose:


Using the PODSPrefs object
Using on-device data to maintain the application state