Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WAMs supports this idea of session data by using a special value of *none in the For parameter of the web map and a value of *persist in the web map's options parameter. A web map to maintain the log on status of a user might look like this:

Image Modified

Note the placement of the web map. Because it is global, all Webroutines in the WAM will adopt it. It makes a lot of sense to code your session data Web Maps in this way – so that the data is mapped in and out at all times.

There are other parameters and settings that need to be taken into account when coding for session data, but you should now have the basic idea. Refer to WAM Session Management for more information.