Re: Forms Inactivity time-out?

From: Michael J. Moore <mNiOcShPaAeMl.j.moore_at_wcom.com>
Date: 2000/08/03
Message-ID: <bxhi5.968$jq1.16243_at_pm02news.wcom.com>#1/1


Thanks for the idea Matt,
I had considered something like what you said, but then I thought, "What if the user is busy working in the same form and not going to a different form?" So, I looked for a trigger like WHEN-USER-DOES-ANYTHING, because basically, I want to reset the timer when the user does anything at all! Of course, I don't see such a trigger.

Others have suggested using the resource limit features defined in the dictionary in order to time-out an inactive session. I am going to look into this.

Thanks.

"Matt B." <mcb_at_fightspam.sd.znet.com> wrote in message news:soi33fsodbm150_at_corp.supernews.com...
> "Michael J. Moore" <hicamel_at_home.com> wrote in message
> news:4M4i5.73854$i5.1168018_at_news1.frmt1.sfba.home.com...
> > How is this kind of problem typically solved using Forms 6i?
> > Joe pulls up the CUSTOMER record and start's to apply a change. This
 puts a
> > lock on the record. Mary pulls up the same customer record but cannot
 change
> > it because Joe has got it. Joe decides that this would be a great time
 to go
> > on a 2 week vacation. He does not log off, does not commit, he just
 walks
> > away in the middle of a transaction.
> >
> > How can Forms clean up Joe's mess ( release his lock and kill his
 session)
> > after say 10 minutes of inactivity?
> > Thanks.
>
> Don't know about killing his session, but maybe try (just off the top of
 my
> head - not sure if this will work or now) a WHEN-TIMER-EXPIRED trigger?
 If you
> put it in your library and have all forms call it, start a timer on
> WHEN-NEW-FORM-INSTANCE. After a certain amount of time (a reasonable
 amount of
> time for someone to use a form - depends on your business), call an alert
 that
> asks if the user wants to commit or rollback. Start a new timer when you
 call
> this alert. If they don't respond within a minute or so, assume they're
 gone,
> and do a rollback and then maybe an EXIT_FORM(NO_VALIDATE).
>
> Just a guess - not sure if it'll work or not but give it a shot and see
 what
> happens?
>
> -Matt
>
>
Received on Thu Aug 03 2000 - 00:00:00 CEST

Original text of this message