Re: How to set a timer for inactivity in Oracle Forms?

From: Matt B. <mcb_at_ds.znet.com>
Date: Wed, 31 Jan 2001 20:52:11 -0800
Message-ID: <t7hqmc1tfipte7_at_corp.supernews.com>


"Scott" <me_at_me.com> wrote in message news:3a7877f5.18837784_at_news.ikea.com...
> Hi,
>
> We have Forms3.0 in production now. We will be migrating to Forms 6
> sometime this year hopefully. We are currenty running the 3.0 forms on
> the VMS operating system with Oracle 7.1 database. We will be
> migrating to Oracle 8 on Unix.
>
> Is there anyway to code the forms to kick off users if they are
> inactive for a period of time?
>
> Thanks,
> Scott

Try the WHEN-TIMER-EXPIRED trigger.

Probably create a timer on a form-level WHEN-MOUSE-CLICK and/or WHEN-MOUSE-DOUBLECLICK trigger and when the timer expires then do what you need to do.

However you also need to take into account the keyboard input too - can't remember if there's a trigger or not for that (I kinda don't think so - doesn't sound familiar). That one might be very tricky.

Also might want to reset the timer yet again on the WHEN-WINDOW-ACTIVATED trigger so that way when they Alt-Tab to another app and back again, that is recognized as activity.

-Matt Received on Thu Feb 01 2001 - 05:52:11 CET

Original text of this message