1 Reply Latest reply on Oct 28, 2015 10:50 AM by mikebeargie

    Log WebDirect Disconnect

    psuchad

      Any ideas on how to log WebDirect disconnects and timeouts? I need to log absolutely all user activity. OnLastWindowClose works great for when a user manually navigates to logout, but does nothing if they close the browser or timeout.
      I understand that this information can be found in the server logs, but I am looking for an in app log with a complete activity breadcrumb trail.

        • 1. Re: Log WebDirect Disconnect
          mikebeargie

          Why not just use a server scheduled script to import in the access.log file and decode it into records?

           

          At a much higher level, you theoretically may be able to use a silent webviewer on a layout that uses javascript to fire an onunload function, firing a PHP page or FMP URL to write an event record to your filemaker database before exiting.