If our session is acceptor and current time > ConnectTime and < DisconnectTime – session goes into WAITING_FOR_FIRST_LOGON state until DisconnectTime, after terminate time it goes into PLANNED state.

If our session is initiator and current time > ConnectTime and < DisconnectTime, and RecreateOnLogout = false – session goes into DISCONNECTED state until DisconnectTime, after TerminateTime it goes into PLANNED state.

If our session is initiator and current time > ConnectTime and < DisconnectTime, and RecreateOnLogout = true – session goes into RECONNECTING state.

If TerminateOnLogout = true and session receives Logout:

If our session is acceptor and current time > ConnectTime and < TerminateTime – session goes into PLANNED state.

If our session is initiator and current time > ConnectTime and < TerminateTime, and RecreateOnLogout = false – session goes into PLANNED state.

If our session is initiator and current time > ConnectTime and < TerminateTime, and RecreateOnLogout = true – session goes into RECONNECTING state.