Doug Arthur wrote: > 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. > Your application should know what state is in exactly at any point of time.
Sounds like you should be calling an initlize() function on each screen movement ? onCreationComplete() and onShow() are two functions where you can do this on differing screen movements. cheers -- Paul Arch --------------------------- Esidium Group Pty. Ltd. Ph: (08) 6461 4230 Fax: (08) 6461 4238 http://www.esidium.com.au Powering DataMate - www.datamate.com.au --------------------------- -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

