You could store all the user’s data in a singleton object, like a Cairngorm data model. The data model has “Reset()” method that returns all the data to its initial state. The Logout handler could call dataModel.Reset().

 


From: [email protected] [mailto:[email protected]] On Behalf Of Doug Arthur
Sent: Thursday, August 03, 2006 5:36 PM
To: [email protected]
Subject: [flexcoders] fundamental logout problem...

 

I've built a system that utilizes a login/logout process. The login portion works great. I realize now that my app is 95% complete, that when logout is executed, all it really does is change states, clear the user singleton instance, but what I didn't realize was going to be a challange is how to globally log them out so that data throughout the app is wiped clean slate, and when another user logs in, they won't get the previous users data.

 

I've tried all the initialize,creationComplete,updateComplete, and oher methods and they don't do the trick.

 

Thanks!

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to