Is there a way to store a valriable in flex?( like a session in java/php).
I am doing flex& Java integration but i need to store variable(var username:String in login page) in flex application.
And I need to access user name in other pages also.And I need to get username from login to other components.I dont need to do cross cutting.that mean one component acess other component.but i need to do it in loosly couple manner..
Can Anyone have sugessions?Any respones are appreciated...
Finally myself found the solution...
and this is the solution,read it.
Using a singleton class we can store value without crosscutting access and promoting component architechture.We can store any number of data fields in singleton class.
* note that: we cant create private constructors in flex
So the solution is singleton class