Hi,
I have userobject (using Remote object)in actionscript body in my login.mxml page after authentication .after storing user object in variable how to retrieve that object in other mxml pages and checking user is still in session.
Please provide any sample code regarding this..
thanks,
Jagadeesh
Dimitrios Gianninas <[EMAIL PROTECTED]> wrote:
Dimitrios Gianninas <[EMAIL PROTECTED]> wrote:
Hi,You don't need to do that. In Flex, you can load the user data using some remote call (using as example RemoteObject) and save it in a variable on the Flex side and use it whenever you want. Normally you would put the variable in the root MXML file and access it when needed.If you get more advanced, and use say the Cairngorm framework, you would save the user data in the ModelLocator.Hope that helps.Dimitrios "Jimmy" GianninasRIA DeveloperOptimal Payments Inc.
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of jag reddy
Sent: Monday, October 17, 2005 5:42 AM
To: [email protected]
Subject: [flexcoders] Regarding Session in macromedia flexHi All,Please let me know how to maintian user session in multiple pages in flex.I have valid user object in service class after validating user and password..then i putting this user object in session using ...flashgateway.Gateway.getHttpRequest().getSession().setAttribute("user_master",user_master);Is it right way and if not please let me know how to do..thanks,Jagadish
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

