Return the validity of the server session on an OpenAppObject
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
OpenEdge 12.3 and above offers the isConnected()
method for instantiated Progress.Open4GL.Proxy.OpenAppObject instances, which is a boolean value
that indicates whether there is a valid session on the PAS for OpenEdge server for the
requesting client.
The
isConnected() method:- Returns
trueif there is a valid session on the server for the client. - Resets the session inactivity timer, so that you can ensure a
request sent after the
isConnected()method is called does not fail due to inactivity.
isConnected() method code sample for Java
The following Java code sample makes a connection to a PAS for OpenEdge instance's APSV transport:
|