gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] youtube cookie bug


From: strk
Subject: Re: [Gnash-dev] youtube cookie bug
Date: Tue, 25 May 2010 23:40:32 +0200

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]