Re: form submits multiple times in IE only at customer site




"Dr. Gig" <none@xxxxxxxxxxx> wrote in message
news:je9j12dfkoda9tfgvs1dhbuvpb72aobp6s@xxxxxxxxxx
On Wed, 15 Mar 2006 20:45:41 GMT, "RobR" <nospam@xxxxxxxxxx> wrote:

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.

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.

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.


.