> I get the access to XPCOM, but there�s a problem. First, the Property > Enumerator from the nsICookieManager is empty, i.e. cookies either haven�t > been read from cookies.txt, or something else. Then, when I use the method > SetCookieString of the interface nsICookieService, the written cookie gets > read by the enumerator but is not written to the drive. > Please advice on the reasons of such wicked results.
First tell the directory service to set the user's profile directory (NS_APP_USER_PROFILE_50_DIR) to the user's Firefox profile directory, then when the cookie service gets created it looks in the correct place. Larry _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
