uCosminexus Application Server, Web Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

2.7.7 Definition in cosminexus.xml

This subsection describes the definitions in cosminexus.xml required in the application development environment.

Setting the upper limit for the number of HttpSession objects

Specify the upper limit for the number of HttpSession objects in the <http-session>-<http-session-max-number> tag within the <war> tag of cosminexus.xml. In the Web applications that inherit the session information, you are not required to set a valid value of one or more as the upper limit for the number of HTTP sessions.

Customizing the session parameters
Specity a session parameter in the war-session-config tag of cosminexus.xml.
The following table lists the definitions of session parameters.

Table 2-29 Customizing the session parameters in cosminexus.xml

Tags to be specified Setting contents
cookie-config-name tag Specifies the the HTTP Cookie name and path parameter name of a URL.
cookie-config-http-only tag Specifies whether HTTP Cookie has only the HttpOnly attribute.
tracking-mode tag Specifies the HTTP session management method.

For details on the tags to be specified, see 2.2.6 Details of the War property in the uCosminexus Application Server Application and Resource Definition Reference Guide.