|
thanks Jeff for that extra piece of
info.
Right now my RPC stuff is using amf channel, where the FDMS
stuff is using amf-polling. So it won't cause any problems to use
amf-polling with regular RPC calls? Cause I would think you normally wouldn't
have any real reason too.
I am not doing setCredentials() on any of the ROs or DSs...
they Flex UI is embedded within a JSP app and it has a login page, so once they
reach the Flex UI they are already authenticated and I don't need to call
setCredentials(). Lovely how that works automatically.
Dimitrios
Gianninas
RIA Developer
Optimal
Payments Inc.
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Vroom Sent: Tuesday, August 01, 2006 5:19 PM To: [email protected] Subject: RE: [flexcoders] Retrieving remote username with FDS
That same approach
should work with FDMS. Have you used the setCredentials method on
the DataService? If the DataService and RPC service are using
the same channel, they should also have the same FlexSession on the server side
so only one service would technically need to authenticate. If you are
mixing services on the same channel, a little care is necessary to ensure that
it had authenticated because (I am pretty sure) that if you call setCredentials
on say a RemoteObject, it wont actually send that to the server until you have
actually tried to execute the remote call. Jeff From:
[EMAIL PROTECTED] Hi, When using RPC services, on
the server-side I can FlexContext. Dimitrios
Gianninas RIA Developer Optimal
Payments Inc.
-- 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
__,_._,___ |
- RE: [flexcoders] Retrieving remote username with FDS Dimitrios Gianninas
- RE: [flexcoders] Retrieving remote username with ... Dimitrios Gianninas

