session handling in rails and flex

Hi All,

I am using Flex for front-end in my application. This front-end needs some data from my application, so it calls few rails methods where i have generated xml file which gives these data. But i didn't get any session value in these methods. Sessions are created in other methods of different controller in my rails application.

Does anybody know why these session values are not available in these methods, the methods which are called from Flex?

Thanks, Manohar

As i am not getting value of session, i am not able to use variables globally. And use global variables doesn't make sense. Please somebody help me out from this trouble.