Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

We have a scenario where we are submitting a form to external site with some hidden input variables, one of which is "redirecturl" which is used by external site to redirect to after it has completed its operation. This variable points to a page in our site.

We want to handle the time out or server unavailability of the external site, after we submit the form. Till now we have not been able to find any decent solution using javascript.

Any solution/pointer would be helpful.

Thanks
Jas
Posted
Updated 15-Jun-10 22:58pm
v2

1 solution

by using C# you can get response header if 500,404 or etc ..., but by using JS maybe this is impossible (because security) in using XMLHttpRequest or like.
 
Share this answer
 
Comments
jaswinderpal 17-Jun-10 1:04am    
Thanks for your input

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900