Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2006

Tip: Looking for answers? Try searching our database.

form submits multiple times in IE only at customer site

Thread view: 
RobR - 15 Mar 2006 21:45 GMT
We have a customer using our application that has a problem.
Within our app, we have a two different forms (one generates
an email, the other a fax via a webservice).  When they click the
submit button, IE6 is generating the event 6 times!!!  So they
end up sending 6 faxes or 6 emails.  We simply cannot reproduce
this.  We can't find anything wrong in our code that might cause
this, I can't find anything in MS Technet about IE bugs that
might cause this (and in any case we cant repro it in IE).
It's not the customer clicking something 6 times.

The code that submits the form is very simple:

<script>
function submitEmail() {
if(confirm("Are you sure you want to send this email?")) {
document.getElementById('emailForm').submit();
window.close();
}
}

We're stumped.  Has anyone encountered anything like this?  I have them
installing Firefox on a test machine to see if it's IE specific but
regardless
we need to resolve this for IE since that's the platform the company is
standardized on.
Dr. Gig - 16 Mar 2006 18:55 GMT
>We have a customer using our application that has a problem.
>Within our app, we have a two different forms (one generates
[quoted text clipped - 21 lines]
>we need to resolve this for IE since that's the platform the company is
>standardized on.

If you cannot reproduce, how can you be sure the form is being
submitted 6 times?  Sounds more like a mail server issue.  Also, since
you've apparently tried to reproduce in IE and were unable, that
eliminates IE as the culprit.
RobR - 16 Mar 2006 19:31 GMT
>>We have a customer using our application that has a problem.
>>Within our app, we have a two different forms (one generates
[quoted text clipped - 26 lines]
> you've apparently tried to reproduce in IE and were unable, that
> eliminates IE as the culprit.

We can see in the log files that the browser is submitting the
action 6 times.  Six emails are sent and 6 faxes are going out
(the two services are entirely unrelated, one is local sendmail
the other is a 3rd party webservice).  We haven't eliminted
IE because there are different versions of IE6 depending on
whether you have hotfixes or service packs installed.  It could
also be something unique to their environment.  I'm trying
to get remote access to one of their PCs so I can replicate and
I'm also waiting to see if it happens in Firefox.  I know they
aren't clicking 6 times because of timestamps, and the fact
it's happening to dozens of people 100% of the time (but
only 100% of the time to people in their office, outside
their office it's 0% of the time).  VERY aggrivating!!!!  I knew it
was a long shot asking here if anyone had seen anything
like this before, but I'm down to taking long shots.
Oliver Wong - 17 Mar 2006 15:39 GMT
>>>We have a customer using our application that has a problem.
>>>Within our app, we have a two different forms (one generates
[quoted text clipped - 42 lines]
> was a long shot asking here if anyone had seen anything
> like this before, but I'm down to taking long shots.

   Design your app to reject multiple submits with identical inputs?

   - Oliver
RobR - 17 Mar 2006 19:54 GMT
>>>>We have a customer using our application that has a problem.
>>>>Within our app, we have a two different forms (one generates
[quoted text clipped - 46 lines]
>
>    - Oliver

We designed it so the send can only be clicked once, somehow
one click is generating 6 events so there's really no way to prevent
it without figuring out why this happens.

We have to deal with it after the fact which is kind of ugly.  I just
don't understand how come it's only happening to this one company,
30 different people within the company and nobody else.
Answerz Inc - 18 Mar 2006 03:10 GMT
>>>>>We have a customer using our application that has a problem.
>>>>>Within our app, we have a two different forms (one generates
[quoted text clipped - 54 lines]
>don't understand how come it's only happening to this one company,
>30 different people within the company and nobody else.

Rewrite in .Net.  We never have these kind of problems.
Oliver Wong - 20 Mar 2006 15:43 GMT
>>    Design your app to reject multiple submits with identical inputs?
>
[quoted text clipped - 5 lines]
> don't understand how come it's only happening to this one company,
> 30 different people within the company and nobody else.

   Design it on the server side, I mean. I.e. even if your clients reverse
engineer your procotol and write their own clients to generate a billion
clicks, the server recjects multiple submits with identical inputs.

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.