Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Doubt on RTMPFlexSession


Level 2

Hi All,
       In my application a separate DataDestination gets created when user logs in.

I want(struggling) to destroy the destination associated with the particular user.

For this I have created FlexSesioListner and as soon as DataDestination  gets created I immediately put it in FlexSession.

FlexContext.getFlexSession().setAttribute("destID" desitID);

SessionDestroy() method get called when user disconnect from app due to any reason

The issue is SessionDestroy() ,flexsession.get( "destID") retuning null ???

while debugigng i found that FlexContext.getFlexSession() returns HttpFlexSession ie  destID is getting stored in  HttpFlexSession 
where as in  SessionDestroy(FLexSession session) session is of type
RTMPFlexSession hence I am getting null here.

my question is how to put data in RTMPFlexSession so that I can be made available in sesssionDestroy() method when RTMP client disconnect.

Just want to destroy the DataDestination when user gets disconnected from RTMP channel based Flex App


1 Reply


Level 2

Hi All,

      Pelase Please , have a look in to it ...I still could not sovle this issue.