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



On Fri, 17 Mar 2006 18:54:46 GMT, "RobR" <nospam@xxxxxxxxxx> wrote:


"Oliver Wong" <owong@xxxxxxxxxxxxxx> wrote in message
news:kSzSf.940$me6.418@xxxxxxxxxxx

"RobR" <nospam@xxxxxxxxxx> wrote in message
news:aaiSf.4053$Sb.3387@xxxxxxxxxxx

"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.

Design your app to reject multiple submits with identical inputs?

- 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.

Rewrite in .Net. We never have these kind of problems.
.