Try something like this (BTW, 3600000 milliseconds = 1 hour)
<SCRIPT>
function TimedOut() {
document.location="<@APPFILEPATH>logout.taf?_function=timeout";
};
setTimeout ("TimedOut()",3600000);
</SCRIPT>
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Wilcox, Jamileh
Sent: Wednesday, January 15, 2003 10:31 AM
To: Multiple recipients of list witango-talk
Subject: Witango-Talk: Tango - variableTimeout
Hiya Bob.
The app I'm currently working on is an equipment inventory. We've set up a
website and database to inventory dern near every piece of computer-related
equipment on campus in order to meet HIPAA regs. It's intranet only, so I
can't link you up, sorry.
Yes, theoretically the techs should have all the data ready when they sit
down and be able to complete a form in one go, but then again...I've timed
out while answering phone calls, so I can see how it would happen. What I
really need is some way to tell them if they've timed out in mid-form,
before they click the SAVE button.
I've not tried this at all, but it just floated across my brain -- you
might look at the <@TIMER> variable for your situation. If you increased
the default timeout for your user variables, you might be able to use the
TIMER to reset just your credit card page on a much shorter loop. (I looked
at it earlier, but it won't work for my app because it's local-scoped and my
problem works the other way 'round.)
The only thing I've been able to think of for my problem would be to write a
javascript to mimic the timeout on the user variables, but that's way more
than I've got time for! Not to mention I don't entirely understand how that
all works yet, so I couldn't do it anyway.
-----Original Message-----
From: Bob Dennis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 8:22 AM
To: Wilcox, Jamileh
Subject: Tango - variableTimeout
Hello Jamileh,
I was having a problem implementing a different timeout length on an
application that I maintain when I saw your postings in the WiTango digests.
I was curious as to what your project or application is (if you are willing
to share that info). Our application is just that; both our Undegraduate
and Graduate Admission Applications are written in Tango (Tango 2000, NT4,
SQL 7). They are located at https://www.apply.ilstu.edu/ . We have the
problem where we ask all freshmen applicants for a Personal Statement. I
would have liked to change the timeout for just that page and then reset it
on the next page, which is a real-time credit card submission page (which we
don't want sitting around on some semi-public machine). For at least a
half-dozen applicants that have reported it during the last application
cycle, the 30 minute variable timeout has not been sufficient. I agree with
you (I think it was you) when you said this ought to be enough time!
Applicants should know that preparing a statement is expected of most
collegiate applications, and at least have something prepared ahead of time!
Anyway, thanks for your digging on the problem.
Bob
Robert F. Dennis
Web Developer/ MSS II
Technical Services/Illinois State University
(309) 438-2117 [EMAIL PROTECTED]
<<attachment: winmail.dat>>
