Hi,
I have a website which contins a form which calls an API. This API can take 2 - 3 minutes to return a result and I have wrapped the submit button in an ajax panel. When the form is submitted, a loading panel is displayed until the result is returned and then the user is rediected to a URL (which is returned from the API). This all works fine in most cases however it seems when the script runs for a long time it is timing out. The loading panel disappears and nothing then happens in the page.
Is there a timeout setting that can be used to handle this? Or should long form submits be handled in a differnet way? I have already added the following line to the web.config after reading other threads on this forum:
<httpRuntime maxRequestLength="51200" executionTimeout="240"/>
This has not helped however as it is definitely timing out in less than 4 minutes. The website is built in Sitefinity if this makes any difference?
Thanks
Rob
I have a website which contins a form which calls an API. This API can take 2 - 3 minutes to return a result and I have wrapped the submit button in an ajax panel. When the form is submitted, a loading panel is displayed until the result is returned and then the user is rediected to a URL (which is returned from the API). This all works fine in most cases however it seems when the script runs for a long time it is timing out. The loading panel disappears and nothing then happens in the page.
Is there a timeout setting that can be used to handle this? Or should long form submits be handled in a differnet way? I have already added the following line to the web.config after reading other threads on this forum:
<httpRuntime maxRequestLength="51200" executionTimeout="240"/>
This has not helped however as it is definitely timing out in less than 4 minutes. The website is built in Sitefinity if this makes any difference?
Thanks
Rob