Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is cookie? #13

Open
GoogleCodeExporter opened this issue Mar 18, 2015 · 1 comment
Open

Where is cookie? #13

GoogleCodeExporter opened this issue Mar 18, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Where is cookie in this custom browser?

The demos project created a "cache" folder, but it didn't appear in my project 
when I used TChromium.

Original issue reported on code.google.com by skywilln...@gmail.com on 18 Apr 2013 at 5:56

@GoogleCodeExporter
Copy link
Author

Looks like need to use "CookieManager"...

procedure TChrome_Browser.EventFormCreate(Sender: TObject);
var
  CookieManager: ICefCookieManager;
begin
  if DirectoryExists('Cookies') = False then
    MkDir('Cookies');

  CookieManager := TCefCookieManagerRef.GetGlobalManager;
  CookieManager.SetStoragePath('Cookies');
end;

then the cookie will appear in my project/ Cookies folder

Original comment by skywilln...@gmail.com on 18 Apr 2013 at 6:10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant