Andrew,

you could of course provide your own login() method inside a CFC which
does the CFLOGIN work for you. This way you only need to send the
username and password once (with the login call) and then use
IsUserInRole()/GetAuthUser() inside your CFC methods afterwards.

Dirk.


-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Vinny Timmermans
Sent: Tuesday, July 05, 2005 2:44 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: setUsernamePassword on RemoteObject

> Im assuming theres no workaround for this?

No. I've brought this to the attention of the Flex team again recently.
Maybe you should leave them a message as well ;-)

Vinny 

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andrew Spaulding
Sent: dinsdag 5 juli 2005 09:16
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: setUsernamePassword on RemoteObject

Thanks Vinny,

Im assuming theres no workaround for this? Im probably just gonna pass
the username and password as variables with each call then. Im using the
cairngorm framework and I have a delegate super class so I can hide it
all in there ;)

cheers,

Andrew Spaulding
www.flexdaddy.info



--- In flexcoders@yahoogroups.com, Vinny Timmermans
<[EMAIL PROTECTED]>
wrote:
> This is a known bug in Flex 1.5. The setUsernamePassword API is not 
> connected to CFLOGIN. Hope they will fix it in Flex 2.
> 
> Vinny
> 
> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On Behalf Of Andrew Spaulding
> Sent: dinsdag 5 juli 2005 04:38
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] setUsernamePassword on RemoteObject
> 
> Hi,
> 
> I'm trying to use the flash remoting setCredentials equivalent in
flex to
> send a username and password with my remote object requests. 
> 
> I can see the Credentials being set in the header when i view the
traffic in
> the netConnectionDebugger, but nothing seems to be in the http
header, and
> hence is not picked up in <cflogin>
> 
> Any ideas?
> 
> Andrew Spaulding
> www.flexdaddy.info
> 
> 
> 
> 
> --
> 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




--
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



 







--
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



 




--
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/
 


Reply via email to