[Zope] MSIE desperate Measures

Michael Geddert geddert@altvater.de
Fri, 16 May 2003 13:10:05 +0200


Hi,

We solved the issue the way you suggested. Thanks a lot for the hint !
BTW: Sessions seem to be affected by that MSIE "feature" as well, we were
not able to get a solution based on session-vars to work properly...

Thanks again,

Michael


Terry Hancock wrote:
<snip>

>>The Problem is that the form-action-object (in our case a python-script) 
>>gets triggered 2-3 times as well, which is definitely *not* what we 
>>want. (This is how we first noticed the problem, the script sent 3 mails 
>>instead of one)
>>    
>>
>
>Even if the browser were to work correctly, you'd probably
>get this behavior occasionally from users (in a network
>slowdown, the user might click "submit" multiple times). So,
>the best thing is probably to build for it.
>
>How about embedding a random id into each form with
>an 
>
><inputr type="hidden" name="form_id" value="&dtml-randomkey;">
>
>and generate a random value for 'randomkey'.
>
>Then check for multiple replies with same id in the script
>you use to catch the data (means you'll have to cache
>the ids somewhere).
>
>  
>
</snip>