Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 17th, 2009, 06:35 AM
Authorized User
 
Join Date: Sep 2004
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Abort connection after timeout

Hi, I have a form that will collect user input and send the request to a servlet for processing. This is done using a post method.

HTML Code:
<form id="aForm" name="aForm" action="http://localhost/Food/processData" method="post">
<!--
html control, e.g: textbox here
-->
<tr>
<td><input type="submit" name="submitButton" value="Submit Request"></td>
</tr>
</form>
My question is, is there a way that we could abort the request after a long period of waiting?

I cant do anything on the servlet as it is not under my control.

Thanks and looking forward for any reply.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Timeout when connection to SQL Server in WiFi LAN smp4774 SQL Server 2000 1 June 29th, 2007 07:15 AM
abort Asynchron? ramo9941 C# 1 May 3rd, 2007 07:07 AM
Connection pooling and Timeout Raghavendra_Mudugal SQL Server 2000 2 May 24th, 2006 01:42 AM
connection timeout apek PHP How-To 1 February 2nd, 2004 04:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.