"Dan E." wrote:
> 
> Hello:
> 
> I am trying to prevent a user from hitting the 'back' button on a browser
> and resubmitting a form a second time. Does TDK2.1 have any facility to
> prevent this? I am using straight HTML. I can't use any scripting of any
> kind. Thanks.
> 
> Dan Eyassu
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


add the following to the form:  (you may need to fix this up, I did not
grab it from a working example)

<input type="hidden" name="_session_access_counter"
value="$data.User.AccessCounterForSession" />

you should then in TR.props specify a template (that lives under your
screens directory) that tells the user to quit hitting reload when
submitting forms.

template.invalidstate=InvalidState.vm

Can someone find a good place to put this in the docs, so it does not
get asked over and over?

john mcnally

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

Reply via email to