Start-Session
The Start-Session webject is used in creating a session. All webjects executed within this session share a common set of resources, including the identity of the calling user, the locale with which the user is associated, and open transactions.
The webject constructs an output group containing a single element with two attributes: INSTANCE and SESSION_ID. The INSTANCE and SESSION_ID attribute values should be used as the value for the INSTANCE and SESSION_ID parameters for all Windchill adapter webjects that should be a part of the session.
Syntax
<ie:webject name="Start-Session" type="ACT">
<ie:param name="AUTHORIZATION"
data="$(@SERVER[]authorization[0])"/>
<ie:param name="CONNECTION_ATTEMPTS" data="attempts"/>
<ie:param name="CONNECTION_ATTEMPT_INTERVAL" data="interval"/>
<ie:param name="DBUSER" data="username"/>
<ie:param name="GROUP_OUT" data="group_out"/>
<ie:param name="INSTANCE" data="appl_name"/>
<ie:param name="PASSWD" data="password"/>
</ie:webject>
Parameters
Required
Interdependent
Optional
INSTANCE
AUTHORIZATION
CONNECTION_ATTEMPTS
DBUSER
CONNECTION_ATTEMPT_INTERVAL
PASSWD
GROUP_OUT
* 
If a parameter is listed in the table but is not defined below, then it has a common parameter definition. For descriptions of those parameters, see Common Webject Parameters section in Adapter Webjects Overview.
GROUP_OUT
Specifies the name of the output group. If this parameter is not specified, the output group is named SESSION_ID. The webject creates a new session context and assigns a unique identifier to it.
The unique identifier is returned in an attribute named SESSION_ID of the first (and only) element of the output group. This identifier can then be specified in SESSION_ID parameters of subsequent webjects to associate those webjects with the session context created by Start-Session. This parameter is optional.
这对您有帮助吗?