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
BedrockMission!

Learn More

View all

Sign in to view all badges

Doubt on RTMPFlexSession

Avatar

Avatar
Level 1
dam_C
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
dam_C
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
dam_C
Level 1

26-05-2009

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


Regards,
Dharmendra

View Entire Topic

Avatar

Avatar
Level 1
dam_C
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
dam_C
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
dam_C
Level 1

29-05-2009

Hi All,

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

Thanks,

Dharmendra