wood burning stoves 2.0*
The moose likes Flex and the fly likes session scoped RO question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "session scoped RO question" Watch "session scoped RO question" New topic
Author

session scoped RO question

marton nagy
Greenhorn

Joined: Jun 07, 2013
Posts: 5

Hi,


Ive recently started experimenting with flex4.7+remoting+blazeds4+glassfish4.

Ive just noticed, that when i use a session scoped ro from the flex side, even if i programatically invalidate the FlexSession ( FlexContext.getFlexSession().[timeout()|invalidate()] ) the next call from the client side will be handled by the exact same ro instance.

-when i check out the sessionId from the FlexSession, it changes after invalidation, but the ro instance stays the same
-when i close the browser(with the flex app), and reopen it, the next ro-call will handled by an another instance


isnt this behavior the application scope behavior?
shouldnt get after session invalidation the ro instance destroyed?





thank you for your help in advance!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: session scoped RO question
 
Similar Threads
Flex-LCDS
HTTP Session listener and session destroyed call
6 Qs
Session in Servlets.....Interesting
flex and struts integration and communication