Page 1 of 1

Inactivity=Exit RestartOnClose Delay in page loading

Posted: Wed Jan 25, 2017 1:41 pm
by bkasekamp
I'm using PWB CEF 3.05.0 to exit and restart PWB with the Inactivity timer. When the inactivity timer expires and PWB exits and reopens, it sits at a blank white page for about a minute before the homepage loads. If I click the close button on PWB and the browser closes and reopens the page loads immediately. Seems only to be the InactivityAction=Exit that causes the blank page on restart of the browser. It works correctly in the PWB IE version.

To troubleshoot I'm using a default .ini file and only modifying the following:

[Browser]
RegisteredTo
RegistrationNumber
HomePage=http://catalog.library.loudoun.gov
StartTimerOnMouseKeyboard=True (otherwise the inactivity countdown starts immediately on page load)

[Security]
RestartOnClose=True

[Inactivity]
InactivityTimer=True
InactivitySeconds=120
InactivityMessageFile=Inactivity.html
InactivityAction=Exit
InactivityStartOnOpen=False
InactivityShowDialog=True
ResetOnMouseMove=True
ResetOnMouseButton=True
ResetOnKeyboard=True

Thanks

Re: Inactivity=Exit RestartOnClose Delay in page loading

Posted: Fri Jan 27, 2017 3:16 pm
by Scott
If you set the home page to a different page, Google.com, for example, does the same thing happen?

--Scott

Re: Inactivity=Exit RestartOnClose Delay in page loading

Posted: Fri Feb 03, 2017 12:03 pm
by bkasekamp
It seems to work correctly with https://www.google.com as the homepage. Our page loads fine if I close and reopen PWB but not when the RestartOnClose starts PWB.

I've been using InactivityAction=Home to this point but need to be able to use ClearCacheOnClose=True. Looks like to get the clear cache to work the browser has to exit and reopen. But, that led me to this issue.

This problem doesn't exist in PWB IE, but it has a different issue that's keeping me from using it.

Thanks

Re: Inactivity=Exit RestartOnClose Delay in page loading

Posted: Fri Feb 03, 2017 2:55 pm
by Scott
If you set the inactivity action to exit, and the clear cache on close, does you site open correctly when PWB is closed and restarted?

[Security]
ClearCacheOnClose=False
RestartOnClose=True

[Inactivity]
InactivityAction=Exit

--Scott

Re: Inactivity=Exit RestartOnClose Delay in page loading

Posted: Fri Feb 03, 2017 2:57 pm
by Scott
You should also set your home page to "https://catalog.library.loudoun.gov/" as "http://catalog.library.loudoun.gov" is redirected to the former.

[Browser]
HomePage=https://catalog.library.loudoun.gov/

--Scott

Re: Inactivity=Exit RestartOnClose Delay in page loading

Posted: Fri Feb 03, 2017 3:32 pm
by bkasekamp
I just tested these settings:

[Security]
ClearCacheOnClose=False
RestartOnClose=True

[Inactivity]
InactivityAction=Exit

Results is the same, blank page for about 60 seconds. It almost seems like PWB/Chrome is hung for the blank page duration. During the blank page, clicking any favorites or shellbar buttons directing to new page does nothing. Once the website eventually loads, then everything works correctly until the Inactivity Exit and RestartOnClose happens. I've duplicated this on several computers so it's not limited to one PC.

https was just implemented this week, after my original post so I have corrected that.

Thanks!