Hi Marcus,

I just verified it and the same JSESSIONID is passed with all three ajax calls. 
So it must be something different-

> Date: Wed, 9 Jun 2010 14:42:03 +0200
> From: m...@syn-online.de
> To: stripes-users@lists.sourceforge.net
> Subject: Re: [Stripes-users] Concurrent call problem with     @SessionScope   
> annotation
> 
> Hi Erkan,
> 
> 
> Am 09.06.2010 14:30, schrieb Erkan Kör:
> > I have an action bean with the @SessionScope annotation. In the 
> > ActionBean constructor I do few initializations. When I now login to 
> > my app it does 3 ajax calls to the action bean (almost concurrently). 
> > But somehow the constructor is called 3 times. But when my frontend 
> > calls the methods one after another it works.
> 
> I think that you don't pass any session parameters with your AJAX calls, 
> so there is no chance to save and retrieve the action bean from your 
> existing session. Later on, when you call explicit methods by using the 
> usual request/response cycle, your request contains a cookie wirh your 
> session id, so the session-scoped action bean can be reused.
> 
> HTH,
> Marcus
> 
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
                                          
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to