Hi, I have had to modify the HTTPService in the past to work around the lack of persistent cookie support. if you want I could share this. HTTPService does not play well with cookies (or any kind of useful headers for that matter). I'd be willing to share my work if anyone is interested. (it may not be a perfect patch, and to meet Apache standards it probably should be polished, BUT it works and is used by thousands of ppl in an air app running on sdk 4.6.0).
> Date: Tue, 5 Feb 2013 12:57:42 -0500 > From: rick.wins...@gmail.com > To: dev@flex.apache.org > Subject: Re: HTTPService Response Headers > > Dan. > > If you are not using a proxy service like BlazeDS... anything other than an > HTTP200 is going to cause your Flex application fits. If you are looking for > the notion of a 'successful failure' where an operation completed (e.g. a > partial save) but had errors. You'll need to implement the semantics of that > condition yourself - Flex is relegated to either a result or fault. > > If you've considered pushing elements into HTTP headers... remember that > custom HTTP request headers are only supported for POST requests, not for GET > requests. > > http://verveguy.blogspot.com/2008/07/truth-about-flex-httpservice.html > > Additionally, heavy restrictions have been placed on HTTP headers in Flash > Player 9.0+ and may get worse. So... your mileage will depend on which > headers you want to touch. > > http://helpx.adobe.com/flash-player/kb/authorization-header-request-flash-player.html > > If you have a concrete use-case, we might be able to hammer out an approach > that works reliably. What exactly did you have in mind? > > Cheers, > > Rick Winscot > > > > On Tuesday, February 5, 2013 at 12:22 PM, Dan Nailor wrote: > > > Hello, > > I am looking to find out if there is anything in the works to allow the > > HTTPService response headers to be interrogated beyond successful and > > unsuccessful calls? From what I understand this is not possible with the > > current class and may be a limitation of some browsers. > > > > http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/rpc/http/HTTPService.html > > http://blogs.adobe.com/kiwi/2006/07/making_http_calls_in_actionscr.html > > (Response Headers) > > > > Thanks! > > > > Dan > > > > This transmission may contain information that is privileged, confidential, > > and/or exempt from disclosure under applicable law. If you are not the > > intended recipient, you are hereby notified that any disclosure, copying, > > distribution, or use of the information contained herein (including any > > reliance thereon) is STRICTLY PROHIBITED. If you received this transmission > > in error, please immediately contact the sender and destroy the material in > > its entirety, whether in electronic or hard copy format. >