Troubleshooting the Inactivity timer

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
GregP
Benefactor
Benefactor
Posts: 90
Joined: Thu Mar 13, 2003 12:34 am
Location: QLD Australia

Troubleshooting the Inactivity timer

Post by GregP »

Hi Scott,

I was wondering if you can advise me on something to do with the Inactivity timer. We want our catalogue PCs to reboot after 5 minutes of inactivity, and the settings below are doing the job, but there is an annoying side effect.

Even when the computer has just turned on, with no-one having used it, it reboots after 5 minutes. I would have assumed the entry InactivityStartOnOpen = False would have fixed my problem but it doesn't.

Any ideas, or does the timer not work like that?

[Inactivity]
InactivityTimer=True
InactivitySeconds=300
InactivityMessageTitle=Warning
InactivityMessageFile=c:\pwb\Inactivity.html
InactivityAction=Reboot
InactivitySoundFile=
InactivityStartOnOpen=False
InactivityShowDialog=True
ResetOnMouseMove=True
ResetOnMouseButton=True
ResetOnKeyboard=True

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

Post by Scott »

What is your home page set to?

If the home page does any kind of navigation, PWB can not distinguish between a redirection or auto navigation and a user requested navigation, and this will start the inactivity timer.

--Scott

GregP
Benefactor
Benefactor
Posts: 90
Joined: Thu Mar 13, 2003 12:34 am
Location: QLD Australia

Post by GregP »

Thanks Scott,

I'll look into that. Would a cgi script count?

I think there is a simple re-direction which I can probably eliminate, but our Library Management System generates most pages in response to a CGI query.

Ta,
GregP

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

Post by Scott »

A CGI script is done while the page is loading, this will not affect the timer. PWB waits until the home page is loaded then sets a trip to wait for the next page to load before starting the timer. The home page loads, the trip is set, and if the home page redirects the time starts.

--Scott

GregP
Benefactor
Benefactor
Posts: 90
Joined: Thu Mar 13, 2003 12:34 am
Location: QLD Australia

Post by GregP »

Thanks Scott,

I've eliminated the redirect and our problem is solved.

GregP

Post Reply