You’re using Flex 1.5 right? Not
1.0? Apparently we had a bug in 1.0 that showed itself like this. In 1.5 it
was hopefully fixed, but you could also try to set
<max-connections>0</max-connections> in flex-config.xml for the
right service.
Matt
From: billheit
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005
5:36 PM
To: [email protected]
Subject: [flexcoders] Web Service
Authentication
I have a .NET web service that allows accessto
various levels of
resources (data) depending on what user logsinto
IIS using Basic
authentication.
In my Flex application, which is not runningon
the same server as
my web service, I would like to have the user
login with a user name
and password. Then pass these credentials
along to the .NET web
service. I don't care if the flex app itself
is secure; it is only
the web service that has sensitive data.
I have tried to use named HttpService and assign
the user's
credentials using the setUsernamePassword method
but it doesn't seem
to work after the first use. Once the proxy
connects to the web
service, it seems to keep the same connection
credentials.
Does anyone know of a better way to pass along the
user's
credentials? Or does anyone havea
better idea on how to do this?
Thanks,
Bill
|