Buy Now
Sign in

Submit a form, but do not wait for response

mapme , November 20 2018, 23:12
M
mapme 98
November 20 2018, 23:12 #381655
Hi,
I am hoping to use a CF action to submit a URL that spins off a web service, but NOT to have to wait for the response.
I've come up short on this, having looked at cURL, file_get_contents and other methods.
Is there are way to do this out of the box with CF? Open to any suggestion!
Thanks.
healyhatman 8
November 20 2018, 23:52 #381657
No and according to Stackoverflow it's not something PHP does "out of the box" either.
https://stackoverflow.com/questions/14359926/send-http-request-from-php-without-waiting-for-response
Pretty sure you should wait for a response though, otherwise how do you know the data submitted? That the URL you're sending to isn't down?
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store