Re: TIMEOUT Feature !!
Posted in 1997
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Jobs, Consulting & Announcements
On Tue, 01 Jul 1997 20:12:59 GMT, asoft@magic.fr wrote: >On Tue, 1 Jul 1997 19:39:21 +0800, Lin Choong How <chlin@bass.com.my> >wrote: > >>Hello, >> >> Have anyone developed an Informix 4GL application that has time out >>features ? eg. during an input screen, if the screen is left idle for 15 >>minutes, it will automatically exit from the program. >> >> If you have any idea how to do it, Pls e-mail to me. >> >> Thank You in advance. >> >>Regards, >>Lin CH >> >> >> >> ________________________________________________________________________ >>/\\ \\ >>\\_| Lin Choong How E-Mail: Lin.Choong.How@bass.com.my | >> | Application Consultant chlin@mol.net.my | >> | Bass Consulting Sdn. Bhd. | >> | 8th Floor, Menara SMI, Tel: 603-2305588 | >> | 6 Lorong P. Ramlee, Fax: 603-2019403 | >> | 50250 Kuala Lumpur, | >> | Malaysia. | >> | _____________________________________________________________________|__ >> \\_/_______________________________________________________________________/ >> >Send a "kill -2" to your programm with shell, every 15 mn for exemple >and you receive in your application the key interrupt. When you start >the shell send the pid of your process > >PID=$1 >while true do > kill -2 $PID || break; > sleep "xxxx seconds" >done > >You can do this also with C programm an include this to your Informix >prog, the way is to simulate interrupt key with a kill. > >Bye bob