Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing browser cookies from Flex

I'm building a Flex widget for a private vBulletin site, and the Flex widget needs to access an XML file on the vBulletin server in order to display data.

For security reasons, the XML URL will need to have the value in the bbsessionhash cookie passed along in the URL request from Flex. The Flex widget will be embedded in the private area that the user has logged into, so the Flex request will be coming from the same website the cookie is from.

Is there any way to access the cookies directly within Flex? I would prefer not to use ExternalInterface to grab the cookie data from JavaScript, as it could get a little messy (the templates are developed by a completely different dev team).

like image 803
Jarin Udom Avatar asked Feb 07 '09 11:02

Jarin Udom


1 Answers

I have never tried this, but this library might just do the trick.

like image 96
David Hanak Avatar answered Sep 26 '22 02:09

David Hanak