The start module for a web project is a special module. It can configured and is called VI_Start. It specifies which main content page is displayed first. Each module can have a start module, assuming Allow quick navigation to this module with a URL parameter is enabled. You cannot pass any parameters.
The VI_Session session module is a special module. Exactly one session module is used in each web project. It can be used by several web projects.
The lifetime of a module is a deciding factor. As long as the session is valid on the web server, you can always access the session module data.
This module contains data about the current user and other session related data.
A session module is initially loaded at the start of a session and retains its data during the entire lifetime of the session. A session module must contain information about the current user. To do this, a session module must contain:
- Collections with the name User
- UserRuntimeModule
- UserMenu
- UserNavigation
NOTE: The collections UserRuntimeModule, UserMenu and UserNavigation are Microsoft .NET Framework object collections.
You can define your own user groups for the web application, for example, by assigning an identity to an organizational unit. These current users assignments are determined once in the session module after logging into the web application and are available for the period of the session thereafter, to hide or show menu items or parts of forms.
The UserMenu contains data about the user's enabled menu items. Data in this collection may not be changed because changes can be overwritten on recalculation.
UseNavigation contains information about the user's navigation breadcrumb trail. Each entry corresponds to a generated form object. The following collection properties are available:
Table 13: UserNavigation collection properties
UidForm |
Provides the main key. |
UidModule |
References the entry in the <UserRuntimeModule> collection containing the associated module entry. |
UidModulePrevious |
References the entry in the <UserRuntimeModule> collection corresponding to the previous module in the navigation path. This information is also used for building up the breadcrumb trail. |
UidFormPrevious |
References the entry in the <UserNavigation> collection corresponding to the previous form.
This information is used for building up the breadcrumb trail. |
Title |
Specifies the form title. |
CanReturnToThis |
Boolean value specifying whether this form can be opened or not. |
SkipInNavigation |
Boolean value specifying whether this form in the breadcrumb trail should be skipped. |
Number |
Specifies the sequential number of this form in the breadcrumb trail. |
FormName |
Specifies the form identifier. |