Hey Vijay,
I've done something very similar with mx:Webservice.   I learned that if a
swf is embedded from the same domain that it is trying to contact, the
cookies are passed along.

For Example:

I have a swf embedded from "embed.abc.com"

I have a cookie set on domain ".abc.com"

I make a webservice request to "ws.abc.com", the cookie set on .abc.com is
passed along automatically.

Hope this helps.
Nate

On Fri, Aug 29, 2008 at 1:05 PM, Vijay Ganesan <[EMAIL PROTECTED]>wrote:

>
> I have Flex-based Flash content running within a DHTML page. The swf
> contained in the page makes RemoteObject
> (mx.rpc.remoting.mxml.RemoteObject) calls to the backend servlet. In
> these calls, I need to be able to send the Browser cookies set by the
> containing DHTML app. Currently the only cookie that seems to come
> through is the JSESSION cookie.
>
> I realize I can read the Browser cookies using ExternalInterface to
> invoke JavaScript, but once the cookies are read, how does one pass
> these cookies along when making a RemoteObject call in my Flex code?
>
> Thanks
> Vijay
>
>  
>

Reply via email to