We're having issues with our inactivity timer not clearing the cache. I am using the latest version of PWB CEF with Windows 10 Pro (but it's also happening on Windows 7 Pro). We are running it in secure mode, with the inactivity timer set at 180 seconds. The relevant settings:
InactivityAction=home
RestartOnClose=TRUE
ClearCacheOnClose=TRUE
The browser goes back to home, but the logged in library patron is not logged out. I have tried creating a clean.cmd startup script as mentioned in this post: https://www.teamsoftwaresolutions.com/f ... ache#p7451, but that did not help.
Now I'm going to add another wrinkle. We have our screensaver set to start after 10 minutes of inactivity. When we enable this, the screensaver kicks in at 180 seconds, and when you move the mouse (or use the keyboard) to dismiss it, the patron is still logged in and the last page they used is still there.
Are there additional settings I'm missing? Thanks for any insight you can provide.
Inactivity Timer Not Clearing Cache
-
- Observer
- Posts: 2
- Joined: Tue Jun 18, 2019 9:26 am
Re: Inactivity Timer Not Clearing Cache
Set the Inactivity Action to Exit.
InactivityAction=exit
With it set to home PWB is not closing and the Restart on Close will not be activated.
--Scott
InactivityAction=exit
With it set to home PWB is not closing and the Restart on Close will not be activated.
--Scott
-
- Observer
- Posts: 2
- Joined: Tue Jun 18, 2019 9:26 am
Re: Inactivity Timer Not Clearing Cache
Thank you for the suggested edit. I made the change, and the result is still the same. It reverts to the home page, but the user is not logged out. I must have missed another setting, as well. Would you mind taking a look at my ini file to see what else I missed?
; --> INI updated Tuesday, June 18, 2019 at 11:53 by PWB INI Update <--
[AutoRegister]
RegisterKey=
RegisterPassword=
RegisterSeconds=15
RegisterShowWindow=FALSE
RegisterDaysLeft=30
UseWindowsRegistry=FALSE
RegisterDelayClose=FALSE
[Browser]
RegisteredTo=XXXXXXXXXXXXXXXXXXX
RegistrationNumber=XXXXXXXXXXXXXXXXXXXXXX
IniFileVersion=3.05
Title=
KioskMode=FALSE
HomePage=http://catalog.uhls.org/iii/encore/?lang=eng&suite=gold
CommandLineHomePage=FALSE
StartMaximized=TRUE
AlwaysOnTop=TRUE
WindowHeight=-1
WindowWidth=-1
WindowTop=-1
WindowLeft=-1
ShowNavigationBar=TRUE
ShowToolBar=TRUE
ShowShellBar=TRUE
ShowAddressBar=FALSE
ShowStatusBar=TRUE
ShowTitleBar=TRUE
ShowInactivityTimer=FALSE
ShowActivityTimer=FALSE
ShowStatusBarTime=FALSE
DisableMinimizeButton=TRUE
DisableMaximizeButton=TRUE
DisableCloseButton=TRUE
DisableMoveWindow=TRUE
DisableResizeWindow=TRUE
DisableNewWindow=TRUE
DisableNewTab=TRUE
DisableExit=False
ConfirmClose=FALSE
UseIEFavorites=FALSE
AlwaysOnBottom=FALSE
ShowKioskBar=FALSE
DisableAutoComplete=TRUE
DisableCtrlEnter=FALSE
StartTimersOnMouseKeyboard=FALSE
DisableScrollBars=FALSE
AddressBarReadOnly=FALSE
EnableIEFeatures=TRUE
SecureMode=True
HideCursor=FALSE
ExitPage=
StatusBarTimeFormat=
StatusBarTimeWidth=0
DefaultZoomLevel=-1
EnableTheaterMode=FALSE
DisableDynamicMenus=FALSE
RemoveStateOnClose=TRUE
SaveState=FALSE
TabHomePage=
DisableNewWindowInit=TRUE
ShowStatusBarIcons=TRUE
DisableTabClose=FALSE
SecureModeDelayStart=2
TabWidth=200
DisableSingleWordSearch=FALSE
DisableShowLastTab=TRUE
EnableLargeTabs=FALSE
DisableLastTabCloseWindow=TRUE
MapOpenToAddressBar=TRUE
CheckAlwaysOnTop=TRUE
CheckOpenIE=FALSE
CheckOpenCEF=FALSE
ShowChromeErrors=FALSE
TabLabelLength=1024
HomeButtonClose=FALSE
[SecondWindow]
AlwaysOnTop=FALSE
DisableMinimizeButton=TRUE
DisableMaximizeButton=TRUE
DisableMoveWindow=TRUE
DisableResizeWindow=TRUE
DisableTitleBar=FALSE
WindowHeight=-1
WindowWidth=-1
WindowTop=-1
WindowLeft=-1
NewPageAsHome=FALSE
OpenInParentWindow=TRUE
DisableUnrequested=FALSE
ShowShellBar=TRUE
StartMaximized=FALSE
ShowNavigationBar=TRUE
ShowAddressBar=FALSE
ShowKioskBar=FALSE
ShowToolBar=TRUE
ShowStatusBar=TRUE
DisableShiftClick=TRUE
DefaultZoomLevel=-1
MaintainZoom=FALSE
DisabledTone=750
[ToolBars]
ToolBarBreak=FALSE
ToolBarGripper=FALSE
ShellBarBreak=FALSE
ShellBarGripper=FALSE
AddressBarBreak=FALSE
AddressBarGripper=FALSE
ToolBarWidth=0
ShellBarWidth=0
AddressBarWidth=400
AlignBottom=FALSE
KioskBarScrollBy=20
ShowButtonText=TRUE
NavigationBarBreak=FALSE
NavigationBarGripper=FALSE
NavigationBarWidth=0
AlignLeft=FALSE
RebarWidth=-1
CustomTabColors=
[Printer]
ShowPrintButtonDialog=FALSE
ForcePrintPreview=FALSE
ShowPrintingDialog=FALSE
PrintingMessageFile=
[Dialogs]
DialogSeconds=5
AlwaysOnTop=TRUE
ShowPopupMessage=FALSE
[Files]
PolicyFile=
HistoryFile=History.txt
CheckURLFile=URL.txt
CheckOnTopFile=
AccessMessageFile=Access.html
ConfirmCloseMessageFile=
SaveAsErrorMessageFile=
FavoritesFolder=Favorites
ShellBarFolder=Shellbar
KioskBarFolder=
StartupScript=clean.cmd
ShutdownScript=
PolicyDeclineScript=
PopupOnButtonFile=
PopupOffButtonFile=
PasswordFile=
ExecuteFilterFile=
NewWindowInitFile=
CheckOpenIEFile=
LoadErrorFile=
FilterDLL=
[WebFiles]
EnableWebFiles=FALSE
CheckURLFile=
[Directories]
SaveAsDirectory=
DownloadDirectory=
[Security]
StationEnvironmentVariable=COMPUTERNAME
UseUniqueHistoryFiles=FALSE
WriteHistoryFile=FALSE
TrackURL=FALSE
CheckURLAccess=TRUE
ShowAccessDialog=FALSE
LogAccess=FALSE
ClearCacheOnClose=TRUE
DisableContextMenu=TRUE
UseCustomContextMenu=FALSE
ShowPolicyDialog=FALSE
OnlyAccessHTTP=FALSE
DisableSecondInstance=TRUE
RestartOnClose=TRUE
ShowPasswordDialog=FALSE
Password=
DisableFileDownload=TRUE
AllowBrowseOnDeny=FALSE
LogoffOnExit=FALSE
ShowFilterStatus=FALSE
FilterOnText=<Filter On>
FilterOffText=<Filter Off>
OnlyAccessInternet=FALSE
DebugAccessString=FALSE
SecondInstanceNavigateCurrent=FALSE
RebootOnExit=FALSE
CheckExecuteAccess=FALSE
EnableAlternateOverrideKeys=FALSE
LogDeniedAccess=FALSE
RestrictFileDownload=FALSE
EnableSecurityBand=FALSE
SetPWBAsDefault=TRUE
CheckURLMainFrameOnly=FALSE
AccessURLRedirect=
FilterIgnoreEmpty=TRUE
ExecuteCloseAboutBlank=FALSE
[Overrides]
ExitBrowser=
Logoff=
Shutdown=
ReReadINIFile=
DisableFilters=
ShowAddressBar=
OverrideURLKeyword=
ClearCookies=
[Java]
EnableExternalJava=TRUE
JavaExit=
JavaActivity=
JavaRegister=
JavaHideToolbar=
JavaExecute=
JavaReadINIFile=
JavaPrint=
JavaRegistryRegister=
JavaLogoff=
JavaReboot=
JavaShutdown=
JavaHideAddressBar=
JavaOverrides=
JavaClose=
JavaStartApp=
JavaSetActivity=
JavaGetActivity=
JavaHideNavbar=
JavaHideShellbar=
JavaHideRebar=
JavaHideKioskBar=
JavaAddressBarReadOnly=
JavaHomePage=
JavaHistoryFile=
JavaAccessMessageFile=
JavaCheckURLFile=
[Inactivity]
InactivityTimer=TRUE
InactivitySeconds=180
InactivityMessageFile=Inactivity.html
InactivityAction=exit
InactivityStartOnOpen=FALSE
InactivityShowDialog=FALSE
ResetOnMouseMove=TRUE
ResetOnMouseButton=TRUE
ResetOnKeyboard=TRUE
ResetOnNavigation=TRUE
[Activity]
ActivityTimer=FALSE
ActivitySeconds=1200
ActivityMessageFile=
ActivityWarnAt=-100
ActivityWarnMessageFile=
ActivityAction=Exit
ActivityStartOnOpen=FALSE
ActivitySecondWarnAt=-200
ActivitySecondWarnMessageFile=
[Proxy]
UseCustom=FALSE
ProxyEnable=FALSE
ProxyServer=
ProxyOverride=
AutoConfigURL=
[PageSetup]
UseCustom=FALSE
Footer=&u&b&d
Header=&w&bPage &p of &P
MarginBottom=0.75000
MarginLeft=0.75000
MarginRight=0.75000
MarginTop=0.75000
Duplex=1
Orientation=1
[Buttons]
Back=True
Forward=True
Stop=True
Refresh=True
Home=True
Favorites=False
Print=False
PrintPreview=False
Policy=False
New=False
Save=False
Cut=False
Copy=False
Paste=False
Find=False
Zoom=True
Popup=False
Menu=True
NewTab=False
[KioskButtons]
Back=Back
Separator1=TRUE
Forward=Forward
Separator2=FALSE
Stop=
Separator3=FALSE
Refresh=Refresh
Separator4=TRUE
Home=Home
Separator5=FALSE
Print=Print
Separator6=FALSE
ZoomIncrease=Increase
ZoomNormal=Normal
ZoomDecrease=Decrease
Separator7=FALSE
ScrollUp=Up
Separator8=TRUE
ScrollDown=Down
Separator9=FALSE
CloseTab=CloseTab
Close=Close
[MenuItems]
AppOpen=
AppPrint=False
AppPrintPreview=False
AppZoom=Zoom
AppZoomIncrease=Increase Ctrl+
AppZoomDecrease=Decrease Ctrl-
AppZoomNormal=Normal
AppSeparator1=FALSE
AppProperties=Properties...
AppSeparator2=FALSE
AppPolicy=False
AppOpenIETab=False
[ContextMenu]
Spelling=No Suggestions
Back=Back
Forward=Forward
Separator0=FALSE
OpenLink=False
OpenLinkTab=False
OpenLinkNew=False
SaveTarget=False
PrintTarget=False
Separator1=FALSE
ShowPicture=False
SavePicture=False
SetWallPaper=False
SetDeskTopItem=False
Separator2=FALSE
Cut=Cu&t
Copy=&Copy
CopyShortcut=
Paste=&Paste
Search=Search For:
Separator3=FALSE
Encoding=
Separator4=FALSE
Print=
Refresh=
Separator5=FALSE
Properties=
[PDFViewer]
UseInternalViewer=TRUE
[HighLight]
EnableHighLight=FALSE
ISBNFontAttributes=COLOR=#0000ff STYLE="background-color:#ffff00"
ISBNLinkAttributes=href=http://www.amazon.com/gp/search/ref=sr_ ... isbn=%ISBN%
ISBNTitleAttributes=Search for %ISBN%
; --> INI updated Tuesday, June 18, 2019 at 11:53 by PWB INI Update <--
[AutoRegister]
RegisterKey=
RegisterPassword=
RegisterSeconds=15
RegisterShowWindow=FALSE
RegisterDaysLeft=30
UseWindowsRegistry=FALSE
RegisterDelayClose=FALSE
[Browser]
RegisteredTo=XXXXXXXXXXXXXXXXXXX
RegistrationNumber=XXXXXXXXXXXXXXXXXXXXXX
IniFileVersion=3.05
Title=
KioskMode=FALSE
HomePage=http://catalog.uhls.org/iii/encore/?lang=eng&suite=gold
CommandLineHomePage=FALSE
StartMaximized=TRUE
AlwaysOnTop=TRUE
WindowHeight=-1
WindowWidth=-1
WindowTop=-1
WindowLeft=-1
ShowNavigationBar=TRUE
ShowToolBar=TRUE
ShowShellBar=TRUE
ShowAddressBar=FALSE
ShowStatusBar=TRUE
ShowTitleBar=TRUE
ShowInactivityTimer=FALSE
ShowActivityTimer=FALSE
ShowStatusBarTime=FALSE
DisableMinimizeButton=TRUE
DisableMaximizeButton=TRUE
DisableCloseButton=TRUE
DisableMoveWindow=TRUE
DisableResizeWindow=TRUE
DisableNewWindow=TRUE
DisableNewTab=TRUE
DisableExit=False
ConfirmClose=FALSE
UseIEFavorites=FALSE
AlwaysOnBottom=FALSE
ShowKioskBar=FALSE
DisableAutoComplete=TRUE
DisableCtrlEnter=FALSE
StartTimersOnMouseKeyboard=FALSE
DisableScrollBars=FALSE
AddressBarReadOnly=FALSE
EnableIEFeatures=TRUE
SecureMode=True
HideCursor=FALSE
ExitPage=
StatusBarTimeFormat=
StatusBarTimeWidth=0
DefaultZoomLevel=-1
EnableTheaterMode=FALSE
DisableDynamicMenus=FALSE
RemoveStateOnClose=TRUE
SaveState=FALSE
TabHomePage=
DisableNewWindowInit=TRUE
ShowStatusBarIcons=TRUE
DisableTabClose=FALSE
SecureModeDelayStart=2
TabWidth=200
DisableSingleWordSearch=FALSE
DisableShowLastTab=TRUE
EnableLargeTabs=FALSE
DisableLastTabCloseWindow=TRUE
MapOpenToAddressBar=TRUE
CheckAlwaysOnTop=TRUE
CheckOpenIE=FALSE
CheckOpenCEF=FALSE
ShowChromeErrors=FALSE
TabLabelLength=1024
HomeButtonClose=FALSE
[SecondWindow]
AlwaysOnTop=FALSE
DisableMinimizeButton=TRUE
DisableMaximizeButton=TRUE
DisableMoveWindow=TRUE
DisableResizeWindow=TRUE
DisableTitleBar=FALSE
WindowHeight=-1
WindowWidth=-1
WindowTop=-1
WindowLeft=-1
NewPageAsHome=FALSE
OpenInParentWindow=TRUE
DisableUnrequested=FALSE
ShowShellBar=TRUE
StartMaximized=FALSE
ShowNavigationBar=TRUE
ShowAddressBar=FALSE
ShowKioskBar=FALSE
ShowToolBar=TRUE
ShowStatusBar=TRUE
DisableShiftClick=TRUE
DefaultZoomLevel=-1
MaintainZoom=FALSE
DisabledTone=750
[ToolBars]
ToolBarBreak=FALSE
ToolBarGripper=FALSE
ShellBarBreak=FALSE
ShellBarGripper=FALSE
AddressBarBreak=FALSE
AddressBarGripper=FALSE
ToolBarWidth=0
ShellBarWidth=0
AddressBarWidth=400
AlignBottom=FALSE
KioskBarScrollBy=20
ShowButtonText=TRUE
NavigationBarBreak=FALSE
NavigationBarGripper=FALSE
NavigationBarWidth=0
AlignLeft=FALSE
RebarWidth=-1
CustomTabColors=
[Printer]
ShowPrintButtonDialog=FALSE
ForcePrintPreview=FALSE
ShowPrintingDialog=FALSE
PrintingMessageFile=
[Dialogs]
DialogSeconds=5
AlwaysOnTop=TRUE
ShowPopupMessage=FALSE
[Files]
PolicyFile=
HistoryFile=History.txt
CheckURLFile=URL.txt
CheckOnTopFile=
AccessMessageFile=Access.html
ConfirmCloseMessageFile=
SaveAsErrorMessageFile=
FavoritesFolder=Favorites
ShellBarFolder=Shellbar
KioskBarFolder=
StartupScript=clean.cmd
ShutdownScript=
PolicyDeclineScript=
PopupOnButtonFile=
PopupOffButtonFile=
PasswordFile=
ExecuteFilterFile=
NewWindowInitFile=
CheckOpenIEFile=
LoadErrorFile=
FilterDLL=
[WebFiles]
EnableWebFiles=FALSE
CheckURLFile=
[Directories]
SaveAsDirectory=
DownloadDirectory=
[Security]
StationEnvironmentVariable=COMPUTERNAME
UseUniqueHistoryFiles=FALSE
WriteHistoryFile=FALSE
TrackURL=FALSE
CheckURLAccess=TRUE
ShowAccessDialog=FALSE
LogAccess=FALSE
ClearCacheOnClose=TRUE
DisableContextMenu=TRUE
UseCustomContextMenu=FALSE
ShowPolicyDialog=FALSE
OnlyAccessHTTP=FALSE
DisableSecondInstance=TRUE
RestartOnClose=TRUE
ShowPasswordDialog=FALSE
Password=
DisableFileDownload=TRUE
AllowBrowseOnDeny=FALSE
LogoffOnExit=FALSE
ShowFilterStatus=FALSE
FilterOnText=<Filter On>
FilterOffText=<Filter Off>
OnlyAccessInternet=FALSE
DebugAccessString=FALSE
SecondInstanceNavigateCurrent=FALSE
RebootOnExit=FALSE
CheckExecuteAccess=FALSE
EnableAlternateOverrideKeys=FALSE
LogDeniedAccess=FALSE
RestrictFileDownload=FALSE
EnableSecurityBand=FALSE
SetPWBAsDefault=TRUE
CheckURLMainFrameOnly=FALSE
AccessURLRedirect=
FilterIgnoreEmpty=TRUE
ExecuteCloseAboutBlank=FALSE
[Overrides]
ExitBrowser=
Logoff=
Shutdown=
ReReadINIFile=
DisableFilters=
ShowAddressBar=
OverrideURLKeyword=
ClearCookies=
[Java]
EnableExternalJava=TRUE
JavaExit=
JavaActivity=
JavaRegister=
JavaHideToolbar=
JavaExecute=
JavaReadINIFile=
JavaPrint=
JavaRegistryRegister=
JavaLogoff=
JavaReboot=
JavaShutdown=
JavaHideAddressBar=
JavaOverrides=
JavaClose=
JavaStartApp=
JavaSetActivity=
JavaGetActivity=
JavaHideNavbar=
JavaHideShellbar=
JavaHideRebar=
JavaHideKioskBar=
JavaAddressBarReadOnly=
JavaHomePage=
JavaHistoryFile=
JavaAccessMessageFile=
JavaCheckURLFile=
[Inactivity]
InactivityTimer=TRUE
InactivitySeconds=180
InactivityMessageFile=Inactivity.html
InactivityAction=exit
InactivityStartOnOpen=FALSE
InactivityShowDialog=FALSE
ResetOnMouseMove=TRUE
ResetOnMouseButton=TRUE
ResetOnKeyboard=TRUE
ResetOnNavigation=TRUE
[Activity]
ActivityTimer=FALSE
ActivitySeconds=1200
ActivityMessageFile=
ActivityWarnAt=-100
ActivityWarnMessageFile=
ActivityAction=Exit
ActivityStartOnOpen=FALSE
ActivitySecondWarnAt=-200
ActivitySecondWarnMessageFile=
[Proxy]
UseCustom=FALSE
ProxyEnable=FALSE
ProxyServer=
ProxyOverride=
AutoConfigURL=
[PageSetup]
UseCustom=FALSE
Footer=&u&b&d
Header=&w&bPage &p of &P
MarginBottom=0.75000
MarginLeft=0.75000
MarginRight=0.75000
MarginTop=0.75000
Duplex=1
Orientation=1
[Buttons]
Back=True
Forward=True
Stop=True
Refresh=True
Home=True
Favorites=False
Print=False
PrintPreview=False
Policy=False
New=False
Save=False
Cut=False
Copy=False
Paste=False
Find=False
Zoom=True
Popup=False
Menu=True
NewTab=False
[KioskButtons]
Back=Back
Separator1=TRUE
Forward=Forward
Separator2=FALSE
Stop=
Separator3=FALSE
Refresh=Refresh
Separator4=TRUE
Home=Home
Separator5=FALSE
Print=Print
Separator6=FALSE
ZoomIncrease=Increase
ZoomNormal=Normal
ZoomDecrease=Decrease
Separator7=FALSE
ScrollUp=Up
Separator8=TRUE
ScrollDown=Down
Separator9=FALSE
CloseTab=CloseTab
Close=Close
[MenuItems]
AppOpen=
AppPrint=False
AppPrintPreview=False
AppZoom=Zoom
AppZoomIncrease=Increase Ctrl+
AppZoomDecrease=Decrease Ctrl-
AppZoomNormal=Normal
AppSeparator1=FALSE
AppProperties=Properties...
AppSeparator2=FALSE
AppPolicy=False
AppOpenIETab=False
[ContextMenu]
Spelling=No Suggestions
Back=Back
Forward=Forward
Separator0=FALSE
OpenLink=False
OpenLinkTab=False
OpenLinkNew=False
SaveTarget=False
PrintTarget=False
Separator1=FALSE
ShowPicture=False
SavePicture=False
SetWallPaper=False
SetDeskTopItem=False
Separator2=FALSE
Cut=Cu&t
Copy=&Copy
CopyShortcut=
Paste=&Paste
Search=Search For:
Separator3=FALSE
Encoding=
Separator4=FALSE
Print=
Refresh=
Separator5=FALSE
Properties=
[PDFViewer]
UseInternalViewer=TRUE
[HighLight]
EnableHighLight=FALSE
ISBNFontAttributes=COLOR=#0000ff STYLE="background-color:#ffff00"
ISBNLinkAttributes=href=http://www.amazon.com/gp/search/ref=sr_ ... isbn=%ISBN%
ISBNTitleAttributes=Search for %ISBN%
Re: Inactivity Timer Not Clearing Cache
Please send a copy of your INI file as an attachment to support@teamsoftwaresolutions.com along with instructions on how to recreate the issue.
--Scott
--Scott