Re: Transactional Control Tokens?

2002-02-01 Thread Mister Hundy
It prevents an erroneous double submit. If your users use the back button or click submit twice the isTokenValid() will return false since the token was reset on the original call. In the struts-example application in (SaveRegistrationAction.java:190, :161) the author calls the method

RE: Transactional Control Tokens?

2002-02-01 Thread Greg Hess
: Friday, February 01, 2002 11:30 AM To: [EMAIL PROTECTED] Subject: Re: Transactional Control Tokens? It prevents an erroneous double submit. If your users use the back button or click submit twice the isTokenValid() will return false since the token was reset on the original call. In the struts

RE: Transactional Control Tokens?

2002-01-31 Thread Afshartous, Nick
I believe the transactional token is used to validate that the user does not submit the same form twice. A common problem is web applications. Nick -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 10:47 AM To: Struts Users Mailing

RE: Transactional Control Tokens?

2002-01-31 Thread Greg Hess
Could you describe how a user would submit a form twice? By clicking fast? or by going back after the first submit? -Original Message- From: Afshartous, Nick [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 11:00 AM To: Struts Users Mailing List Subject: RE: Transactional

RE: Transactional Control Tokens?

2002-01-31 Thread Afshartous, Nick
Message- From: Afshartous, Nick [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 11:00 AM To: Struts Users Mailing List Subject: RE: Transactional Control Tokens? I believe the transactional token is used to validate that the user does not submit the same form twice

Re: Transactional Control Tokens?

2002-01-31 Thread Olivier Dinocourt
both - Original Message - From: Greg Hess [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 5:15 PM Subject: RE: Transactional Control Tokens? Could you describe how a user would submit a form twice? By clicking fast? or by going back