RE: Template running more than once?

2002-02-27 Thread Shawn Grover

It is an action page for a form, but the submit button is NOT being
double-clicked.
I guess I can add this code to see if the browser somehow thinks a double
click is being done, but I don't think that is the issue.

Thanks though.

Shawn Grover

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 5:21 PM
To: CF-Talk
Subject: RE: Template running more than once?


Is is an action page off a form?

Browsers will allow a double click on the submit form to process the action

page twice

To keep people from clicking the submit button twice use this:

INPUT TYPE=Button NAME=Submit VALUE=Start Activity
onClick=if(this.value == 'Start Activity') this.form.submit();
this.value='Please Wait.';



At 05:00 PM 2/26/2002 -0700, you wrote:
Thanks.  We looked into the dynamic image tags and this doesn't seem to be
the problem in our case.

Anyone have any other ideas/suggestions?

Shawn Grover

-Original Message-
From: Zac Belado [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 5:00 PM
To: CF-Talk
Subject: RE: Template running more than once?


  We have a case where it appears our template is running twice - but only
  intermittently.

I had a similar problem and it was, thankfully, tracked down to an error in
a dynamic img tag. Disable images in your browser and see if it still loads
the tempalte twice. If it doesn't then try looking in any dynamic image or
anchor tags for improperly closed tags.



__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Template running more than once?

2002-02-27 Thread Chad Gray

I have never been able to get IE for Windows to submit two pages on a 
double click, but Netscape for Linux, and Irix will allow a double 
submit.  I can replicate the double submit consistently on Linux, and Irix.

My action page was not suppose to run if it had already run (based on 
looking at a database table to stop the running), but when the page is 
submitted twice at the exact same time the action page would run twice.

Since adding that java code i have not had any more problems.




At 08:57 AM 2/27/2002 -0700, you wrote:
It is an action page for a form, but the submit button is NOT being
double-clicked.
I guess I can add this code to see if the browser somehow thinks a double
click is being done, but I don't think that is the issue.

Thanks though.

Shawn Grover

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 5:21 PM
To: CF-Talk
Subject: RE: Template running more than once?


Is is an action page off a form?

Browsers will allow a double click on the submit form to process the action

page twice

To keep people from clicking the submit button twice use this:

INPUT TYPE=Button NAME=Submit VALUE=Start Activity
onClick=if(this.value == 'Start Activity') this.form.submit();
this.value='Please Wait.';



At 05:00 PM 2/26/2002 -0700, you wrote:
 Thanks.  We looked into the dynamic image tags and this doesn't seem to
 be
 the problem in our case.
 
 Anyone have any other ideas/suggestions?
 
 Shawn Grover
 
 -Original Message-
 From: Zac Belado [mailto:[EMAIL PROTECTED]]
 Sent: Monday, February 25, 2002 5:00 PM
 To: CF-Talk
 Subject: RE: Template running more than once?
 
 
   We have a case where it appears our template is running twice - but
 only
   intermittently.
 
 I had a similar problem and it was, thankfully, tracked down to an error
 in
 a dynamic img tag. Disable images in your browser and see if it still
 loads
 the tempalte twice. If it doesn't then try looking in any dynamic image
 or
 anchor tags for improperly closed tags.
 
 


__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Template running more than once?

2002-02-26 Thread Shawn Grover

Thanks.  We looked into the dynamic image tags and this doesn't seem to be
the problem in our case.

Anyone have any other ideas/suggestions?

Shawn Grover

-Original Message-
From: Zac Belado [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 5:00 PM
To: CF-Talk
Subject: RE: Template running more than once?


 We have a case where it appears our template is running twice - but only
 intermittently.

I had a similar problem and it was, thankfully, tracked down to an error in
a dynamic img tag. Disable images in your browser and see if it still loads
the tempalte twice. If it doesn't then try looking in any dynamic image or
anchor tags for improperly closed tags.

__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Template running more than once?

2002-02-26 Thread Chad Gray

Is is an action page off a form?

Browsers will allow a double click on the submit form to process the action
 
page twice

To keep people from clicking the submit button twice use this:

INPUT TYPE=Button NAME=Submit VALUE=Start Activity 
onClick=if(this.value == 'Start Activity') this.form.submit(); 
this.value='Please Wait.';



At 05:00 PM 2/26/2002 -0700, you wrote:
Thanks.  We looked into the dynamic image tags and this doesn't seem to be
the problem in our case.

Anyone have any other ideas/suggestions?

Shawn Grover

-Original Message-
From: Zac Belado [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 5:00 PM
To: CF-Talk
Subject: RE: Template running more than once?


  We have a case where it appears our template is running twice - but only
  intermittently.

I had a similar problem and it was, thankfully, tracked down to an error in
a dynamic img tag. Disable images in your browser and see if it still loads
the tempalte twice. If it doesn't then try looking in any dynamic image or
anchor tags for improperly closed tags.


__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Template running more than once?

2002-02-25 Thread Zac Belado

 We have a case where it appears our template is running twice - but only
 intermittently.

I had a similar problem and it was, thankfully, tracked down to an error in
a dynamic img tag. Disable images in your browser and see if it still loads
the tempalte twice. If it doesn't then try looking in any dynamic image or
anchor tags for improperly closed tags.
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists