The session preparer parameters are as follows:
Name |
Description |
Values |
MW_NB_SESSIONS
|
Number of sessions initialized by the preparer in advance.
|
Integer from 0 to n By default: 2 |
ID_FILE_CONFIG |
Client configuration file (MWCLIENT.ini) used by the session preparer. |
ALPHA string |
ID_FILE_CONFIG_SRV |
Server configuration file (MWSERVER.ini) used by the session preparer in the case of a local database connection. |
ALPHA string |
MW_ANSI_CODEPAGE |
ANSI code page used to build Unicode -EBCDIC conversion tables with AS/400 servers, or UNICODE - ANSI with Windows servers (if the parameter is not defined, then the parameter indicated in CfgConfiguration.properties is to be used). |
Integer |
MW_ASCII_CODEPAGE |
ASCII code page used to build Unicode -EBCDIC conversion tables with AS/400 servers if the ANSI code page did not allow to build these tables (if the parameter is not defined, then the parameter indicated in CfgConfiguration.properties is to be used). |
Integer |
Default parameters are defined in the session preparer:
- Initial number of sessions: 2
- Client configuration file (MWCLIENT.ini) sought by the HaSession session.
These parameters can be modified via the CfgConfiguration.properties file.
The file should be accessible from the CLASSPATH (generally placed in the
WEB-INF\classes subdirectory of the web application).
Note: The CfgConfiguration.properties file, which is supplied by default when a Web application is created, sets MW_NB_SESSION to 0 by default. It is advisable to keep this value while working in a development context. We recommend changing it when you put your Web application into production.
You can also set up a particular configuration file for a given session preparer.
This is the prepSessions_<SessionPreparerName>.properties file which should be accessible from the CLASSPATH (generally placed in the WEB-INF\classes subdirectory of the web application).
Click below for further details about: