RE: [flexcoders] Re: Lcds Clustering problem with Flex session.

2010-06-15 Thread Gregor Kiddie
Right, your problem is...

 

RTMP doesn't use HTTP... so there is no HTTP session to be found.

 

That's a drastically more fundamental issue.



RE: [flexcoders] Re: Lcds Clustering problem with Flex session.

2010-06-09 Thread Gregor Kiddie
Looking back at my notes from before.

 

The other thing we had to do was a JGroups to each instance for the
sessions to be replicated.

 

Gk.

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of sanjitcs
Sent: 09 June 2010 18:25
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Lcds Clustering problem with Flex session.

 

  

Thanks for your reply.

I have configured LCDS setup correctly and i am also using the sticky
session and I am still getting the similar behavior. 

For clustering I have followed step given for LCDS clustering.

Could you please elaborate "make sure your LCDS setup is correct
for clustering" If you are referring some specific step which i am
missing. 

Following are the piece of code
When user login to application. I am storing data in FlexClient i.e
FlexContext.getFlexClient().setAttribute("userName", username);

and in every call i am retrieving the username from FlexClient 
i.e 
FlexContext.getFlexClient().getAttribute("userName");

but in case of serverFailure. I am getting null value on other node.

According to me if FlexClient is clustered aware then I supposed to get
that userName which i have set in FlexClient.

Could you please any one let me know whether it is right expectation or
not.

Thanks