webtier@glassfish.java.net

Re: [webtier] Flash scope issue

From: <webtier_at_javadesktop.org>
Date: Thu, 16 Sep 2010 13:31:41 PDT

> I understand the solution but you are breaking
> clustering. I don't think that this is wisely
> choosen. At least it should be configurable.
>
> Now, I understood why I found this interesting cookie
> code ;-)

With both the application scope + cookie and session scope approach, wouldn't there be a problem if the user happens to (rapidly) click on two pages that use the flash scope in different tabs or windows?

I could easily see this leading to all sorts of awkward race conditions, with the wrong results appearing on the wrong page. Can't the redirect simply send some ID along that the code behind the flash implementation can use to pick the right data from whatever scope?
[Message sent by forum member 'arjan_t']

http://forums.java.net/jive/thread.jspa?messageID=482999