You have this Cookie information in the response header. I don't think in 
Flex Web Application you can read the response header while 
using HTTPService. Though in AIR application if you're using URLLoader. you 
can listen to HTTPStatusEvent.HTTP_RESPONSE_STATUS  and 
find responseHeaders (list of URLRequestHeader).

But for web application there is a workaround if you are not making 
crossdomain calls. You amy use JavaScript to sniff document.cookie and 
read JSESSIONID.

Regards,

--
Prasanta Saha

On Sunday, March 24, 2013 9:50:46 PM UTC-7, prathap simha wrote:
>
> Hi,
>
> I am using HTTP Service Object to login to the server.
>
> I can see the response received from server in Network Monitor as below:
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> P3P: CP="ALL"
> Set-Cookie: *JSESSIONID=8E7C888DA13BE38CD6A1BD52FF28CD78*; 
> Path=/jasperserver-pro
> Content-Type: text/xml;charset=UTF-8
> Content-Length: 0
> Date: Mon, 25 Mar 2013 10:27:46 GMT
>
> But, I am not able to get the same in ResultEvent handler.
> In result handler I get only status code 200, but not JSESSIONID.
>
> Thank You
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/flex_india?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to