[flexcoders] RemoteObject madness

2008-07-28 Thread [p e r c e p t i c o n]
Hello Good People...

My application has one RemoteObject that i use to connect to different
services...in other words i keep the connection open and just switch the
destination and source in order to reuse it.
I'm having an issue that i'm not sure is related to using it this
way...here's how i'm using it...

first i use it to do some authentication...upon successful authentication i
change the source and destination and call another service...upon successful
return i again change the source and destination and  make another call

and here's what's happening...

the first call (authentication) goes well...
the second call goes well, but the third call (called from the successful
result callback of the second) actually calls the successful result callback
of the second call i made...

can anyone tell me what might be happening here...i've double checked that
i'm calling the correct callbacks, but wonder if this is because i'm
cascading this way...


thanks

percy


RE: {Disarmed} [flexcoders] RemoteObject madness

2008-07-28 Thread Scott
What is your backend? - - what are you connecting to?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [p e r c e p t i c o n]
Sent: Monday, July 28, 2008 4:43 PM
To: flexcoders@yahoogroups.com
Subject: {Disarmed} [flexcoders] RemoteObject madness

 

Hello Good People...

My application has one RemoteObject that i use to connect to different
services...in other words i keep the connection open and just switch the
destination and source in order to reuse it.  
I'm having an issue that i'm not sure is related to using it this
way...here's how i'm using it...

first i use it to do some authentication...upon successful
authentication i change the source and destination and call another
service...upon successful return i again change the source and
destination and  make another call

and here's what's happening...

the first call (authentication) goes well...
the second call goes well, but the third call (called from the
successful result callback of the second) actually calls the successful
result callback of the second call i made...

can anyone tell me what might be happening here...i've double checked
that i'm calling the correct callbacks, but wonder if this is because
i'm cascading this way...


thanks

percy

 


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean.