Tom,

there may be some application, where such behavior is expensive, i.e. hit
the 'acknowledge credit card charge' button twice.
The worker servlet would have the requests first, so it has to intercept the
second. As the out stream of the first is gone in the view of the browser,
you would need clever logic. I.e. rollback the transaction of the first and
execute the second as if nothing special happened.

M.
^X^S
----- Original Message -----
From: "Tomas Rokicki" <[EMAIL PROTECTED]>
To: "Tomcat Developers List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 28, 2001 8:32 PM
Subject: RE: Disable Refresh Function in IE


> You can't really avoid refresh.
>
> Consider that people can double-click on a submit button or
> link, quite inadverdantly, and your server sees it as two
> submissions but you only get the second response.
>
> Other than the timing, there is very little to distinguish this
> >from hitting the refresh button.
>
> If the server refuses to serve refresh requests, well, you've
> just broken anyone with a slow finger on the mouse.
>
> (And yes, some people still double-click links intentionally
> because you double-click to launch on Windows and why should
> the Web be any different?  True these people are typically
> moms and pops, but everyone's got them, right?  Parents, that
> is?)
>
> -tom
>
> -----Original Message-----
> From: Denis Balazuc [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 28, 2001 11:28 AM
> To: Tomcat Developers List
> Subject: Re: Disable Refresh Function in IE
>
>
> No, there's no way to disable any of the browser's buttons such as
Refresh,
> Back or Forward....
>
> The only way to prevent a refresh is to maintain some flag when you serve
> requests, but even this is hardly feasible.
> I'd love to hear about a clean solution on that topic....We need to avoid
> people from refreshing pages too....
>
> ----- Original Message -----
> From: "Bala Nemani" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, November 28, 2001 12:54 PM
> Subject: Disable Refresh Function in IE
>
>
> > Hi:
> >
> > Is there a way to disable REFRESH functionality. I.e. not just
> > hiding the Refresh button but disable the refresh functionality it self
> (F5
> > function key also).
> >
> > Thanks
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to