Those of you who have 4D Client acting as web server:

I've got 4D client working great as a web server.

Now I like to "know" that the web server is running from another client.

I'd love to have the same functionality as the Execute on Server attribute
        But for a specific client
        Not available, that I know of

I've got a few options that I can think of:

I'm not enthused about any of them
I'd like to think there's a much easier way.
Hopefully I'm just being dense.

1.      Get the "Registered Name" of the Web server client
        Send an EXECUTE ON CLIENT asking Web client if server is running
        Send back an EXECUTE ON CLIENT to the "calling" Client with the results
        (would require a "Delay" until received info)

2.      Get the "Registered Name" of the Web server client
        Send an EXECUTE ON CLIENT asking Web client if server is running
        Have the client send an object with the web server info using SET 
PROCESS VARIABLE to the Server
        (or EXECUTE ON SERVER)
        Have the original calling client GET PROCESS VARIABLE from server
        (would require a "Delay" until received info)

3.      Have the Web Server client continually loop (every minute or so)
        And have the client send an object with the web server info using SET 
PROCESS VARIABLE to the Server
        (or EXECUTE ON SERVER)
        Have the original calling client GET PROCESS VARIABLE from server

4.      Do an HTTP Get on the Web Server Client
        NOTE:
        OK if the web server is running
        If web server not running, there is a long delay before HTTP get 
returns with the status code.
        So, not an option


Any other ideas from the 4D Brainiacs?

Gracious Thanks!

Randy Engle, Director
XC2 Software LLC – XC2LIVE!




**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to