cefsharp / Questions-and-Support

Use this repository to ask CefSharp specific questions
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Set cookie in cefsharp #76

Closed Masoud1721 closed 3 years ago

Masoud1721 commented 3 years ago
Masoud1721 commented 3 years ago

I am working with cefsharp in winform and need to add a cookie related to the login token cookies when initialize a cefsharp browser. How do I do this? please help?

amaitland commented 3 years ago

In future please at least make an attempt to answer the questions listed in template.

See https://github.com/cefsharp/CefSharp/blob/cefsharp/86/CefSharp.Example/Handlers/BrowserProcessHandler.cs for an example of calling SetCookie.

http://cefsharp.github.io/api/86.0.x/html/T_CefSharp_ICookieManager.htm

If you require further assistance then please provide more detail of what it is you are trying to achieve.

Masoud1721 commented 3 years ago

hi .. i use it.. thanks a lotttttttt 😊😊

On Wed, Dec 9, 2020 at 12:29 PM Alex Maitland notifications@github.com wrote:

In future please at least make an attempt to answer the questions listed in template.

See https://github.com/cefsharp/CefSharp/blob/cefsharp/86/CefSharp.Example/Handlers/BrowserProcessHandler.cs for an example of calling SetCookie.

http://cefsharp.github.io/api/86.0.x/html/T_CefSharp_ICookieManager.htm

If you require further assistance then please provide more detail of what it is you are trying to achieve.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cefsharp/Questions-and-Support/issues/76#issuecomment-742029522, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASB4IV3ZZWS4LK3OHREFI3TST7M25ANCNFSM4UTWEISQ .