How do you set the cookies for the Gecko web browser?
I know that I have to call:
geckowebbrowser.Document.Cookie = ...;
but you need to set the cookies globally too. For example, in the .NET included Microsoft IE WebBrowserControl you set them by using the following Winapi function:
static extern bool InternetSetCookie(string lpszUrl, string lpszCookieName,
string lpszCookieData);
This works fine for IE Web Browser but not for Gecko.
I've tried to use the Cookiemanager class from the Gecko library by calling Cookiemanager.add(...)