Git Product home page Git Product logo

Comments (4)

ataranto avatar ataranto commented on May 13, 2024

This is an issue tracker not a discussion forum.

  1. Persistent cookie support was added to CEF (the library that CefSharp wraps) in r196. chilitom's repo wraps CEF r193. My fork wraps CEF r264. Use my fork.
  2. Which logging are you referring to? JavaScript console messages?

from cefsharp.

danijel avatar danijel commented on May 13, 2024

Sorry about asking questions here, but I didn't know where to ask, and I saw some questions here.
Thank you very much for your quick replay.

I tried your fork, but I'm not doing something right. Do I need enable persistent cookie support, if so, how?

I was talking about debug.log file that gets created, but now I see I was running in debug mode.

from cefsharp.

ataranto avatar ataranto commented on May 13, 2024

Regarding persistent cookies:
You'll need to set a cache path. Also, The persistent cookie implementation only flushes to disk once every 30 seconds OR when you call CEF.Shutdown().

var settings = new Settings();
settings.CachePath = @"C:\Path\To\Your\Cache\Dir";
CEF.Initialize(settings);

from cefsharp.

 avatar commented on May 13, 2024

About logging:
It setted up by CefSettings, but in CefSharp LogFile & LogVerbosity properties is absent.
By default (even in release build) CEF always writes javascript messages in this log file (named debug.log).
So for configuring logging you needed implement this two properties in Settings.h

from cefsharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.