> -----Original Message----- > From: Robert Nicholson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 5:52 PM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] Hidden token > > > If I quickly hit the the submit button twice what happens? > > What guarantee is there that the execution of both actions isn't > interleaved? >
Well, the first thing the action would do is check the token and remove it from the session. Is access to the session thread safe? Either way, you'd want to synchronize the read and clear of the token (or temporary URL), and whichever one got it first would succeed. ------------------------------------------------------- This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
