Notice: Trying to get property 'post_parent' of non-object in /var/www/html/community/wp-content/plugins/buddyboss-platform/bp-forums/functions.php on line 841
Omnis Data Bridge Client-side connection management - Omnis General Forum - Omnis Forum

Forums

Find answers, ask questions, and connect with our
community all around the world.

Home Forum Omnis General Forum Omnis Data Bridge Client-side connection management

  • Omnis Data Bridge Client-side connection management

    Posted by Kon K on October 22, 2022 at 3:30 pm

    I have a legacy desktop Omnis app that opens data files via the Data Bridge (performance be damned).

    In a situation where the ODB closes the connection (say due to a timeout when a laptop is closed for 5 min), is there way to check on the client side if that’s what has occurred?

    When this happens, the client practically locks up. I scoured the docs for any notation api or event or command to check for the odb:// connection state but found nothing.

    Does anyone know of a reasonable solution to this problem?

    Thanks in advance.

    Kon K replied 1 month ago 2 Members · 4 Replies
  • 4 Replies

Notice: Trying to get property 'post_parent' of non-object in /var/www/html/community/wp-content/plugins/buddyboss-platform/bp-forums/functions.php on line 841
  • Andreas Pfeiffer

    Administrator
    October 24, 2022 at 2:25 pm

    Hello Kon,

    what Omnis version and what ODB version are you using?

    Best,

    Andreas

  • Kon K

    Member
    October 24, 2022 at 2:29 pm

    Latest and greatest: 10.22 and 1.78 respectively.

    Our app itself has recently been migrated from Omnis 5 but that probably has no impact.

    Any hints would be appreciated.

    Thanks!

  • Andreas Pfeiffer

    Administrator
    October 25, 2022 at 1:37 pm

    Hi Kon,

    I would not recommend running the ODB server on a laptop machine for exactly this reason. As it is a server it supposed to stay available for the clients.

    I hope this helps.

    Best,

    Andreas

    • Kon K

      Member
      October 25, 2022 at 7:06 pm

      But as far as you know, there is no way to detect this kind of event (dropped ODB connection) in the client-side code, correct?

Log in to reply.