Just some comments..
How about the following?
When the form is submitted, display a page without a submit button that
1) indicates the form is being processed and 2) submits the form data
for actual processing.
And in the meantime, where is the page with the form with the data that
has to
How about the following?
When the form is submitted, display a page without a submit button that
1) indicates the form is being processed and 2) submits the form data
for actual processing.
-Terence Bandoian
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 5/20/2010 11:51 AM, Pid wrote:
> On 20/05/2010 15:01, Christopher Schultz wrote:
>> That's fine, but the onclick handler doesn't do anything but disable
>> itself upon the first click.
>
> It doesn't need to; after the scriptlet completes it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hassan,
On 5/20/2010 10:31 AM, Hassan Schroeder wrote:
> On Thu, May 20, 2010 at 7:01 AM, Christopher Schultz
> wrote:
>
> UserVisitor is clicking the image based href MULTIPLE TIMES
>
>> I'd love to hear some clever solutions to this problem
On 20/05/2010 15:01, Christopher Schultz wrote:
> Pid,
>
> On 5/17/2010 4:43 PM, Pid wrote:
>> On 17/05/2010 21:07, Christopher Schultz wrote:
>>> Karthik,
>>>
>>> On 5/13/2010 3:45 AM, Karthik Nanjangude wrote:
Question : My web application uses "href" & "css based image's"
for tr
On Thu, May 20, 2010 at 7:01 AM, Christopher Schultz
wrote:
UserVisitor is clicking the image based href MULTIPLE TIMES
> I'd love to hear some clever solutions to this problem.
Create a unique value in a hidden field in each displayed form.
Have a servlet filter save the value of that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 5/17/2010 4:43 PM, Pid wrote:
> On 17/05/2010 21:07, Christopher Schultz wrote:
>> Karthik,
>>
>> On 5/13/2010 3:45 AM, Karthik Nanjangude wrote:
>>> Question : My web application uses "href" & "css based image's"
>>> for transferring th
the *second* click, the handler returns false and so stops the
action, theoretically preventing the multiple click stream problem.
p
> BTW, the default target is "_self", so there's no need to specify that.
>
> Unless there is more Javascript that you haven't posted, th
change the
onClick handler? How about this:
Submit Form
BTW, the default target is "_self", so there's no need to specify that.
Unless there is more Javascript that you haven't posted, the above does
not submit a form.
> And causes the multiple form submits. How to prevent th
e, or set it to '#image.jsp?mult=1". You can
> always set a timer, to remove the '#' after a couple of seconds, if the
> page hasn't changed.
>
> 2. Use a instead and disable it during the first mouse
> down.
>
>
>> And causes the multiple form
he problem is UserVisitor is clicking the image based
> href MULTIPLE TIMES ( multiple clicks )
>
> onClick="this.onclick=function(){return false}" target="_self"
>class="buttonRedSmall">Submit Form
>
> And causes the multip
l">Submit Form
1. Unset the href value, or set it to '#image.jsp?mult=1". You can
always set a timer, to remove the '#' after a couple of seconds, if the
page hasn't changed.
2. Use a instead and disable it during the first mouse
down.
> And causes the multiple
TIPLE TIMES ( multiple clicks )
Submit Form
And causes the multiple form submits. How to prevent the same ?
I googled / yahooed for Cross browser based tricks to disable the multiple
request...Not luck so far ...
Can some body help me if Tomcat has any special features to prevent this attack
Thanks Chris, that works. I think this used to be a simple button,
rather than a submit.
Sincerely,
Frank McLean
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Frank,
Frank McLean wrote:
I have a couple of submit buttons similar to the following:
You
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Frank,
Frank McLean wrote:
> I have a couple of submit buttons similar to the following:
>
> onclick='mode.value=2;document.forms[0].submit()'/>
Your javascript is causing the "multiple submit" behavior. You need to
change your onclick handler to t
Hi,
We use TC 5.5.15 behind an Apache2 front end and the AJP connecter.
I have a form, using the SSLEXT tag library-
- which posts to Struts and thence to my app.
I have a couple of submit buttons similar to the following:
onclick='mode.value=2;document.forms[0].submit()'/>
Everything is
16 matches
Mail list logo