SessionState Property (Read Only)

Top  Previous  Next

Returns the current session state.

 

Visual Basic Syntax

 

[TNBXSS =] TNBnnnnX.SessionState

 

Delphi Syntax

 

[TNBXSS :=] TNBnnnnX.SessionState;

 

It can return any of TNBSessionState constant values:

 

Constant Value

Meaning

ssNoSession

Not in session.

ssSSCPLU

In session with VTAM.

ssLULU

In session with VTAM Application.

 

 

Remarks

 

While the telnet connection is closed this property returns always ssNoSession value.

When the telnet connection is opened it can return:

 

ssNoSession, indicating that the connection was established at telnet level but not at 5250 Data Stream level.
ssSSCPLU, indicating that a connection with the VTAM was established, but there's not a session with an final application (like CICS, TSO, etc.). (This state is only valid for TN3270 Hosts).
ssLULU, indicating that the connection with the VTAM application (like CICS, TSO, etc.) has been established.

 

See Also TNBXSS type.