singleton class should be fine; you better recheck your implementation...
here is an alternative way (not preferable w.r.t. singleton)
--- keep login parameters in the main component(e.g. application) as 
bindanble;
then pass these values to each component (where you need login).
-- if you want to share data; just do the same approach, keep data as an 
object in the
main application and pass it as an argument to other components... you 
can edit data in any
of your components...

wish it helps...

Girish wrote On 12/05/2007 05:49 AM:
> Hi All
>  
> I am using Salesforce as Database. In each mxml component i have 
> written login method to login to salesforce to retrieve data. I want 
> to use single login in main application and want to use that in other 
> mxml components. how can i achieve it..
>  
> I tried using singleTon but in Sample project it is working fine when 
> i actually implemented in realtime project then it giving problem. Is 
> there any other way that i can implement
>  
> Thanks in advance
>  
> Regards
> Girish
>
> ------------------------------------------------------------------------
> Chat on a cool, new interface. No download required. Click here. 
> <http://in.rd.yahoo.com/tagline_webmessenger_10/*http://in.messenger.yahoo.com/webmessengerpromo.php>
>  
>
>  

Reply via email to