|
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: 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,creation 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
YAHOO! GROUPS LINKS
__,_._,___ |

