Thank you Abdul for your reply to this problem. If I copy and paste the url I still get the popup but as soon as I enter the user and password it will let me through. But If I go through the flex app then it will never validate and I will have to click cancel which throws a 403 error.
My goal is to try and have flex control the browser and let flex control 403's and so on. I have read your blog post on controlling HTTP requests but have not been able to get it to work. Any other ideas that you have would be great. --- In [email protected], "Abdul Qabiz" <[EMAIL PROTECTED]> wrote: > > Probably, your login script on server-side is throwing some error when it > sees the wrong data... > > What happens, if you copy paste URL in browser (not in flex app):- > > https://mysite.net/interface.php?password=pass&customer=34343&username=wrong_name<https://mysite.net/interface.php?password=pass&customer=13&username=uzernamz> > > Do you see any error? > > > BTW! Just a suggestion, nothing to do with this problem, it's not good idea > to use HTTP/GET for this purpose. Use POST method in HTTPService and also > modify the php to use $_POST or $_REQUEST (works for both GET and POST but > it's good to use the specific ones). > > -abdul > > On Jan 10, 2008 11:57 PM, markcavins <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > I am having a major problem with my login script. When a user enters > > information correctly there is not problem. if a user enters in the > > wrong customer name I get the expected popup that says enter your > > customer #. However if the username or customer name is wrong the > > browser pops up a warning (set by a serverside js warning used by > > other programs) and I get the following error > > > > [RPC Fault faultString="HTTP request error" > > faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent > > type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error > > #2032: Stream Error. URL: > > > > https://mysite.net/interface.php?password=pass&customer=13&username=uzernamz > > "]. > > URL: https://mysite.net/interface.php"] > > at > > mx.rpc::AbstractInvoker/ > > http://www.adobe.com/2006/flex/mx/internal::faultHandler > > ()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:211] > > at > > mx.rpc::Responder/fault > > ()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\rpc\Responder.as:56] > > at > > mx.rpc::AsyncRequest/fault > > ()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:110] > > at > > > > DirectHTTPMessageResponder/errorHandler()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:343] > > at flash.events::EventDispatcher/dispatchEventFunction() > > at flash.events::EventDispatcher/dispatchEvent() > > at flash.net::URLLoader/redirectEvent() > > > > I have read articals like judah's blog I am still stumped how to fix > > this issue. > > > > > > > > > > -- > -abdul > --------------------------------------- > http://abdulqabiz.com/blog/ > --------------------------------------- >

