Hi,
I have embedded xulrunner in my application and its working fine for
normal browsing. I want to set few custom cookies(like session cookies
etc) before any web page is opened in browser. For that i do the
following:-
/// adding cookies via nsICookieManager2.Add() before opening
web page.
nsCOMPtr<nsIWebNavigation> webNav(do_QueryInterface(myWebBrowser));
webNav->LoadURI(NS_ConvertASCIItoUTF16(inURL.c_str()).get
(),nsIWebNavigation::LOAD_FLAGS_NONE,nsnull,nsnull,nsnull);
But it is not working and cookies are not send to server. Please let
me know how to add custom cookies
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding