* Jonathan T. Rockway <[EMAIL PROTECTED]> [2007-07-28 02:35]:
> On Fri, Jul 27, 2007 at 11:57:01AM -0700, Mesdaq, Ali wrote:
> > Are you sure that InnoDB would solve this issue? Even if just
> > a row was locked and you have 2 inserts at the exact same
> > time how would that resolve the issue?
> 
> One transaction would succeed and the other would fail. If you
> want different behavior, you'll have to change the isolation
> level (or actualy, in this case, rethink your app).
> 
> It's more of an issue of this:
> 
> User visits page A.
> User visits page B in another tab.
> User submits form A.
> User submits form B.
> A updates the flash.
> B updates the flash.
> Page A2 loads with whatever flash won.
> Page B2 loads with whatever flash won.

Keeping implicit state on the server blows. News at 11.

(The right way: don’t use flash. Put the stuff somewhere
where you can give it a URI and send the user to that
address.)

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to