Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

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

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

Already on GitHub? # to your account

Isolation not loading cookies #3503

Closed
owly111 opened this issue Apr 14, 2021 · 2 comments
Closed

Isolation not loading cookies #3503

owly111 opened this issue Apr 14, 2021 · 2 comments

Comments

@owly111
Copy link

owly111 commented Apr 14, 2021

  • What version of the product are you using?

    • 89.0.170
  • What architecture x86 or x64?

    • x64
  • What version of .Net?
    .Net 4.6

  • On what operating system?
    Win7

  • Are you using WinForms, WPF or OffScreen?
    WinForms

  • What steps will reproduce the problem?
    I am trying to isolate each browser based on the current user, to have more sessions on the same website. This is my code:
    browser = new ChromiumWebBrowser("http://www.whatarecookies.com/cookietest.asp") { RequestContext = new RequestContext(new RequestContextSettings { CachePath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\FaceNet\user", PersistSessionCookies = true }) };

  • What is the expected output? What do you see instead?
    I was expecting to find the old session loaded back, but instead it starts as a completely new browser.

  • Please provide any additional information below.
    The sessions are being saved in the folder I specified, they just don't get loaded back.

Thank you in advance.

@amaitland
Copy link
Member

Did you check the log file?

See #3111 (comment)

@owly111
Copy link
Author

owly111 commented Apr 14, 2021

Did you check the log file?

See #3111 (comment)

I read the link you cited, and by doing some testing I realized my Cookies file is not updating. It gets created the first time, and then stays the same.

@cefsharp cefsharp locked and limited conversation to collaborators Apr 14, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants