Search code examples
apache-flexflex4flash-builderblazedsflash-builder4.5

Flash Builder 4.6 How to get the session id of the user?


I'm using Java + BlazeDS4 + Tomcat + FlashBuilder4.6

....

How do I get the session id for each user logged into the site?

I would like to get the session id and closes her case is connected in several places with the same user.

...

I searched all over the internet and found nothing related to this.

I'm new in Flash Builder and thank all the help.

thank you


Solution

  • Normally, if you are using adapters or the servlets to find out, you may want to maintain the map of the username=UserSessionID.

    To get the usersession id, get you can use FlexContext.getFlexSession() or you can use FlexSession.getServletRequest().getSession()

    More no this here