uCosminexus Application Server, Maintenance and Migration Guide
This subsection describes how to investigate the life cycle of a session using a trace based performance analysis.
You can investigate the life cycle of a session by using the trace (Session trace) that is output when the PRF trace collection level is set as details.
You can investigate a session trace information by using the session ID of the trace based performance analysis file that is output or the global session ID (when the memory session fail over function is used), as a key.
The session ID is output to the option area of the event, output as the session trace information in the following format:
Number of session characters: Session ID |
For example, if there is a session ID called as abc123, in the option area 6:abc123 is output. When the session ID is a blank character, 0: is output as the number of session characters. When the session ID cannot be acquired, nothing is output.
In the case of a global session ID as well, the session ID is output in the same format.
The session ID of the identified event is acquired from a URL when the Cookie or URL of the request header is overwritten. You can confirm from where the session ID is acquired referring to the character that is output at the end of the session ID. When the session ID is acquired from a Cookie, C is output following the session IDs that are output to these events. When a session ID is acquired from a URL, U is output following the session ID. The following are the events where you can confirm the acquisition source of the session ID:
The following figure gives an example of trace based performance analysis file in which the session trace information is output. In this example, the trace information of a request to generate a session, a request to use the session, and a request to destroy the session are output in the validity period of one session. Also, a request to generate a session, a request to use the session, and a request to destroy the session are shown separately. In reality, the trace information in these three examples is output one after another. In these windows, all items are related to the session trace.
Figure 7-13 Example of trace based performance analysis file where the session trace information is output (request part where the session is created)
Figure 7-14 Example of the trace based performance analysis file where the session trace information is output (request part where the session is used)
Figure 7-15 Example of the trace based performance analysis file where the session trace information is output (request part where the session is cancelled)
The items that you can confirm in this trace file are described here.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.