It is the same session id. I have absolutely no idea what's going wrong internally.
-----Original Message----- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 22. Februar 2007 14:17 To: MyFaces Discussion Subject: Re: session scoped Bean created twice! Did you check that the session associated with those 2 session beans is the same? If the ajax component gets confused client side, it might be that it is handling in fact 2 different session, and the posting the resize event to each session. En l'instant précis du 02/22/07 14:07, Michael Heinen s'exprimait en ces termes: > One of my session scoped beans is created two times. > > > > I call an ajax actionListener (a4j:commandlink) via JS when the user > resizes the browser window. > > The onresize event of the documentBody is fired multiple times during > resizing. > > Therefore my actionListener is also called multiple times which is not a > problem because I just reset some values and don't refresh anything on > the screen. > > > > But during debugging I noticed, that the session scoped bean of the > ActionListener is initialized twice with two different object ids. > > The ActionListeners are called for both instances of the Bean!!! > > What's the reason for that ? > > > > When I resize the browser window a second time after the first resizing > finished > > then the ActionListener of the second created bean is executed only. > > > > I use: > > MyFacesCore 1.1.4 > > tomahawk snapshot 1.1.4 > > a4j 1.0.6 > > > > Any help is appreciated > > Michael > > > > > > >

