Inactivity=Exit RestartOnClose Delay in page loading

Questions and comments about currently under development PWB v3

Moderators: Tyler, Scott

Post Reply
bkasekamp
Participant
Participant
Posts: 16
Joined: Thu Jul 25, 2013 10:53 am

Inactivity=Exit RestartOnClose Delay in page loading

Post 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

Scott
Site Admin
Site Admin
Posts: 2527
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Inactivity=Exit RestartOnClose Delay in page loading

Post by Scott »

If you set the home page to a different page, Google.com, for example, does the same thing happen?

--Scott

bkasekamp
Participant
Participant
Posts: 16
Joined: Thu Jul 25, 2013 10:53 am

Re: Inactivity=Exit RestartOnClose Delay in page loading

Post 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

Scott
Site Admin
Site Admin
Posts: 2527
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Inactivity=Exit RestartOnClose Delay in page loading

Post 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

Scott
Site Admin
Site Admin
Posts: 2527
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Inactivity=Exit RestartOnClose Delay in page loading

Post 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

bkasekamp
Participant
Participant
Posts: 16
Joined: Thu Jul 25, 2013 10:53 am

Re: Inactivity=Exit RestartOnClose Delay in page loading

Post 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!

Post Reply