Voyager timeout fix – part II

      Comments Off on Voyager timeout fix – part II

Last week I posted an entry on a fix for the stealth timeout in our Voyager catalog. This is just a short update to say that while it seemed to work great, it really didn’t. But now, with a major assist from the original author of the JavaScript that peformed the magic (Jim Robinson of Tarrant County College), I have it working well with the UNICODE version of Voyager.

So what’s changed?

Basically, Endeavor calls forms by number…not name or ID. Bad coding practice but it works if no one has to extend the code for other purposes (which is what I was trying to do). Inserting a call ahead of Endeavor’s code threw off their count and while my timer worked well, a JavaScript-powered option to sort result sets that Endeavor included just quit working.

The solution, move the timer initialization code from the header of the page to the footer—that keeps Endeavor’s form count intact and my timer (and all Endeavor’s code) works fine.

Jim tells me he’ll be updating his site with this “fixed” code (has probably already done it) so here’s a link to his site:


http://lib-serv.tccd.edu/code/webvoyage/