Connection.connected() (Method)

A method that returns a flag indicating the state of the connection.

Availability:

JavaScript - 1.2
Netscape Enterprise server - 3.0
Property/method value type:Boolean primitive
JavaScript syntax:NESmyConnection.connected()

If the session is currently connected to the database, this method will return a true value. If the session is no longer connected it yields false.