I'm experimenting with the FlexSession listening machinery from Java  
(mainly in order to do cleanups if a session expires).

When I have an attribute object which implements  
FlexSessionBindingListener, then valueBound() gets called when I add  
the attribute and valueUnbound() gets called when I remove it - so  
far so good. But I would expect valueUnbound() to get called (for all  
such objects) when the session is destroyed - this doesn't seem to be  
happening. The docs suggest it should:

<http://livedocs.macromedia.com/flex/2/fds2javadoc/flex/messaging/ 
FlexSession.html#addSessionDestroyedListener 
(flex.messaging.FlexSessionListener)>

If I add a session destroyed listener using the above method, I did  
indeed get called for session destruction.

(As an aside, I'm not sure I understand when a session created  
listener would get called: if I create one for a particular  
FlexSession, why would it get called upon creation of a different  
FlexSession?)

        -- N.


   nick rothwell -- composition, systems, performance -- http:// 
www.cassiel.com





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to