0 Replies Latest reply on Sep 11, 2008 5:57 AM by mxc10

    How to prevent basic auth dialog box?

      Hi all,
      I have a webservice protected with basic authtentication. From my understanding I thought it would be possible to prompt the user for a user name and password using a flex form and then do a setCredentials on the WebService object to provide the server with the needed info, thus avoiding the broswers dialog box.

      However this does not work and I still get the browser dialog box. Even worse if I log out of the flex application and try and log in as a new user it seems the old credentials are cached by the browser so the new user get security errors as the flex usernam and basic auth username do not match up. This is how the app has been coded.

      Any idea?