The configuration file is divided into sections, one section per session. A session section can contain configuration information that applies to that session and all child sessions below it. Any child session can set configuration values in its own section that will override the value it would have inherited from its parent session.
/, then use the
CHGWBLSSN command to set the
signon value to
*USER WblUser, a section like the one below will be
created in your configuration file:
<Session />
Signon User WblUser
</Session>
In the example above, the first and third lines indicate that this
configuration is for the root Webulator URL. The second line indicates that
all browsers choosing this URL (and any below) will automatically be signed on
as WblUser.
Use the WRKWBLSSN command to create an
entry for the session /Black, then use the
CHGWBLSSN command to set the
signon value to
*USER WblUser2, and set the
background color to
000000.
Use the WRKWBLSSN command to create an
entry for the session /White, then use the
CHGWBLSSN command to set the
background color to
FFFFFF.
<Session />
Signon User WblUser
</Session>
<Session /Black>
Signon User WblUser2
BackgroundColor #000000
</Session>
<Session /White>
BackgroundColor #FFFFFF
</Session>
The example above has three sections, representing three different URLs that a
browser could access.
The first section is taken from the previous example.
The second section is a child session (or sub-session) of the first
session. It changes the signon user to WblUser2. Therefore,
any browser accessing this URL will automatically be signed on with that user
name. There is also a configuration line that will set the background color
of the browser to black.
The Signon entry in the second section overrides the entry from
the first section. The BackgroundColor entry overrides
the default value.
The third section is also a sub-session of the first session. As such, it
inherits the Signon entry from the first section (and does not
override it). Any browser accessing this URL will be signed on with the user
name WblUser. The background color in this session is set to
white.
When saving files, many editors actually rename the original file with a .bak extension and write a new file with the correct extension. If this happens, the renamed file will retain the AS/400 authority information of the original file, while the new file will get new authority information.