1. David Sowray
  2. PowerBuilder
  3. Friday, 2 December 2022 08:53 AM UTC

PB 2022 Build 1892

We have an application with a webbrowser object, which allows the users to login to a website. If the users close the application, the cookies are not remembered from the previous session and the user must login again. Unfortunately, the website they use only allows one login at a time, so if the user has failed to log out before closing the application, they can't log back in again for the rest of the day.

I've tried changing the CachePath, which reports success, but navigating to chrome://version always shows a blank cache path.

Is there a workaround for this problem?

Many thanks,
David

Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Saturday, 3 December 2022 02:41 AM UTC
  2. PowerBuilder
  3. # 1

Hi David,

I get the same issue on Chrome and Edge too. It seems the Windows update is causing the issue which might need Chrome to handle.
Please refer to the articles below for details. I’ve tried the solutions in these articles but it didn’t solve the problem.
https://support.google.com/chrome/thread/50327847/chrome-keeps-signing-me-out-after-updating-to-windows-update-2004?hl=en
https://www.minitool.com/news/google-chrome-issue-windows-10-update.html

Regards,
Kai

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 2 December 2022 19:41 PM UTC
  2. PowerBuilder
  3. # 2

Hi David;

  Are you setting the CachePath (where the cookies should reside) in your PB App's Application Object's OPEN event?

Regards ... Chris

Comment
There are no comments made yet.
David Sowray Accepted Answer Pending Moderation
  1. Friday, 2 December 2022 20:30 PM UTC
  2. PowerBuilder
  3. # 3

Hi Chris,

Yes, I've tried it both in the application's Open event and also within the window's open event, just to be sure.

I also set the UserAgent in the application's Open event, and that works fine, but not the CachePath.

Regards,

David

Comment
  1. David Sowray
  2. Friday, 2 December 2022 21:58 PM UTC
I hadn't been, but I just tried it. Unfortunately no improvement with the cookies. The only difference was having to go through a "select the pictures with traffic lights" check. I logged in successfully, but after closing the browser and re-opening it, I'd been logged out again.



Incidentally, this is happening with any website which relies on cookies to remember the login status, not just the specific one the users are trying to access.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 2 December 2022 22:15 PM UTC
Hi David;

Bummer ... please open a support ticket for this issue.

Many thanks in advance!

Regards .. Chris
  1. Helpful
  1. David Sowray
  2. Friday, 2 December 2022 22:29 PM UTC
Will do. Many thanks for the help, Chris. It's much appreciated.

Regards,

David
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 24 January 2023 16:34 PM UTC
  2. PowerBuilder
  3. # 4

I'm seeing the same problem with PB 2022 Build 1892. I'm navigating to a website that the user will login. The userid/password aren't remembered.

I added this code to the constructor event:

Integer li_rc
String ls_Value

li_rc = WebBrowserGet("CachePath", ls_Value)

The value is:

C:\Users\RMSMITH\AppData\Local\Temp\pbcefcache

Any idea when this will be fixed?

Comment
  1. Kai Zhao @Appeon
  2. Thursday, 2 February 2023 05:34 AM UTC
Hi, We tested and the test result shows that the user login issue is gone in WebBrowser(WebView2).
  1. Helpful
  1. Roland Smith
  2. Tuesday, 7 February 2023 19:17 PM UTC
When do you expect PB 2022-R2 to be released?
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Tuesday, 7 February 2023 20:24 PM UTC
Latest best estimate is some time in July 2023.
  1. Helpful 1
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.