On Tue, May 25, 2010 at 01:43:17PM -0600, Rob Savoye wrote:

>   I've got code in a branch that can read the cookies for youtube, but
> setting them currently doesn't stay persistent. Does anyone have more of
> a clue than I do about Cookies ? It seems to me that this should be
> handled purely in the plugin, and not in Gnash itself.

Gnash currently makes his own sockets.
I agree ideally it should allow the hosting app to do that instead,
but anyway in this current situation you can instruct Gnash to read
cookies from a file using the GNASH_COOKIES_IN environment variable.
The file must be in the mozilla cookie format. See the libcurl page
about that format [1].
The curl adaptar code is libbase/curl_adapter.cpp, function importCookies.

[1] http://curl.haxx.se/libcurl/c/curl_easy_setopt.html

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html

_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to