getSession() Method

Usage

public java.lang.String getSession(java.lang.String pPropertyName)

Description

Generic method returning general information about the current session. The list of available properties is described in the pPropertyName values table.

Parameters

Parameter

Type

Description

pPropertyName

String

String that contains the name of the requested property.

pPropertyName values

The following table lists the different possible values for pPropertyName:

Parameter value

Description

SESS_NO

Internal number of the session

SESS_NAME

Name of the session

SCEN_VERSION

Current scenario version

CONTEXT_NAME

Name of the execution context

CONTEXT_CODE

Code of the execution context

AGENT_NAME

Name of the physical agent in charge of the execution

SESS_BEG

Date and time of the beginning of the session

USER_NAME

odi User running the session.

Examples

The current session is: <%=odiRef.getSession("SESS_NAME")%>