CWRIGHT
03-22-2004, 12:46 PM
Hi,
I am using the HTTP.TestConnection and HTTP.Submit actions to post data to a php script.
The actions have a timeout setting to wait for a response from the remote server, but is there any way to display to the user visually the status of this wait (if there is one)?
For example, if my server is down, the HTTP action will try to connect for 20 secs (by default). During that 20 seconds nothing happens in my AMS application -- it appears frozen, and that is a long time for an application to be frozen without so much as even an hourglass cursor. I would like to display to the user the progress of this 20 second wait (should it be necessary) but the status callback function is only available for HTTP.Download.
I have tried running a page OnTimer event, but even that pauses during the 20 seconds.
Any suggestions appreciated.
Thanks, CW
I am using the HTTP.TestConnection and HTTP.Submit actions to post data to a php script.
The actions have a timeout setting to wait for a response from the remote server, but is there any way to display to the user visually the status of this wait (if there is one)?
For example, if my server is down, the HTTP action will try to connect for 20 secs (by default). During that 20 seconds nothing happens in my AMS application -- it appears frozen, and that is a long time for an application to be frozen without so much as even an hourglass cursor. I would like to display to the user the progress of this 20 second wait (should it be necessary) but the status callback function is only available for HTTP.Download.
I have tried running a page OnTimer event, but even that pauses during the 20 seconds.
Any suggestions appreciated.
Thanks, CW