An application using sessions must perform each of the following
tasks:
- Creating an application session entry associated with the channel session
in the application session table (see Creating a session entry)
- Removing a session entry associated with the channel session from the
application session table (see Removing a session entry)
An application using application subsessions must perform each
of the following tasks:
- Creating an application session entry associated with the channel session
in the application session table (see Creating a session entry)
- Creating an application subsession entry in the application session table
(see Creating a subsession entry)
- Removing an application subsession entry from the application session
table (see Removing a subsession entry)
- Removing a session entry associated with the channel session from the
application session table (see Removing a session entry).
Removing a channel session removes all the nested application subsessions.
Each of these tasks is described in this section. The following
two scenarios are also provided to show these tasks in a larger perspective: