I'm not one of the CFML gurus, just wanted to say that up front.

Ok, so you're in the field, have loaded your app from a webserver, and use 
it to collect data, the issue is that the data could get lost in a timeout 
when the connection's dropped, is that right?

Maybe use a javascript function to poll a cfc on the server every few 
seconds or so and display the result live on the page, if you feel the need 
to manually hit submit.
Or simply have a JS function submit the data through AJAX after 
successfully polling a cfc and update you with the current status. (Have 
the cfc return a success string for example.)

Just my 2 cents.

On Tuesday, March 5, 2013 10:00:24 PM UTC-6, J.Lucido wrote:
>
> I have an application which I currently use in the traditional server 
> (Internet-based)/client scenario as well as an app on my laptop for data 
> collection in the field.
>
> When I am mobile with the application I often use a Verizon hot spot to 
> stay connected for certain aspects of the application. The issue is 
> sometimes the connection drops in and out.
>
> I have a simple (fairly) function which checks the Internet connection via 
> a HTTP request and with trapping, etc. I make the best guess when the 
> mobile app is connected and not. 
>
> My question is there has to be a better way. Does anyone have a 
> recommendation for a better WAN connection test? Surely there are others 
> who use their applications in a mobile manner too. Always open for 
> suggestions.
>
> Thanks in advance.
>
> Kind regards,
> -JSLucido
>

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to