Active Script triggering Inactivity Counter

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
AnthonyM
Provider
Provider
Posts: 57
Joined: Wed Sep 22, 2004 2:37 pm

Active Script triggering Inactivity Counter

Post by AnthonyM »

Our catalogs are continually restarting PWB because a script on the page is triggering the inactivity timer. If I disable active script in the IE Security settings, or open to a different page, the problem goes away. I have read through the threads on the Inactivity counter and tried all the recommendations.

[Browser]
...
StartTimersOnMouseKeyboard=True
...
[Inactivity]
InactivityTimer=True
InactivitySeconds=120
InactivityMessageTitle=End Session
InactivityMessageFile=C:\PWB\Catalog_Inactivity.rtf
InactivityAction=Exit
InactivitySoundFile=
InactivityStartOnOpen=False
InactivityShowDialog=True
ResetOnMouseMove=True
ResetOnMouseButton=True
ResetOnKeyboard=True

Unfortunately, I have no control over the content of our catalog. Any ideas? Thanks.

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

Post by Scott »

What is your home page set to?

--Scott

AnthonyM
Provider
Provider
Posts: 57
Joined: Wed Sep 22, 2004 2:37 pm

Sorry, that would have made sense

Post by AnthonyM »

That would have made sense to give you the URL:
http://alpha2.suffolk.lib.ny.us/search~S43

Also, I downloaded the latest PWB version.

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

Post by Scott »

Have you tried the following?

[Browser]
StartTimersOnMouseKeyboard=True

--Scott

AnthonyM
Provider
Provider
Posts: 57
Joined: Wed Sep 22, 2004 2:37 pm

Post by AnthonyM »

Yes, I tried that. I included all the settings related to the inactivity timer in my first post. If it would help, I can email you the full ini. Thanks.

AnthonyM
Provider
Provider
Posts: 57
Joined: Wed Sep 22, 2004 2:37 pm

Found the problem

Post by AnthonyM »

I found the problem. I tore through the catalog and found the one line causing the problem

Code: Select all

<script></script>
I created a test page, with just this line, that caused PWB to restart:
http://www.nenpl.org/cat_temp/Inactivity.htm

I am going to try and have the link removed from the catalog.

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

Post by Scott »

Is this page available for testing?

http://www.nenpl.org/cat_temp/Inactivity.htm

It seems to be missing.

--Scott

AnthonyM
Provider
Provider
Posts: 57
Joined: Wed Sep 22, 2004 2:37 pm

moslty empty

Post by AnthonyM »

I left the page as empty as possible, so it only had the one line that loads the widget, but not the line that actually calls an instance of it. That was enough for PWB to restart on its own. I just added the call so you can see it on the page.

I'm sure you'd still like to examine the cause of the problem, just know there is no rush. I have been able to remove the widget from the catalog homepage and that fixed the problem. I'll leave the test page up until your done troubleshooting.

Post Reply