W
whenshaw
Guest
Hi Matheus, Try calling JSDOSession.ping() and checking the 2nd argument of the promise callback (the "result" parameter in the Progress documentation), which should be false. For additional information (to determine whether it's an authentication problem or some other reason for being offline), check the 3rd argument -- it's an argument that has an "offlineReason" property which may be set to progress.data.Session.AUTHENTICATION_FAILURE (numeric value 2), and an "xhr" property that gives you access to the XMLHttpRequest object that was used call ping(). Calling ping() will set the connected property to false if it fails, by the way. --Wayne
Continue reading...
Continue reading...