Auto logoff after X minutes of non use? (AREV Specific)
At 07 JUL 1998 07:47:03PM Darin Sanders wrote:
I believe this has been covered in the past but cannot find the answer.
How can I setup Arev 2.12 so users will be automatically logged out of Arev after 60 minutes of non use?
Thanks in advance,
-d
At 07 JUL 1998 08:21PM Paul Rule wrote:
One way to do it would be to call a program from the post-indexing routine. The program could be something like this.
(I haven't tested this)
wait=60
start=time() ; finish=start+(wait * 60)
key="
call msg("You will be logged out soon. Press a key to abort","UB",image,"")
loop
input key,-1until key # "" or time()=finish repeat
call msg("","DB",image,"")
if key=" then perform "OFF"
*end
At 08 JUL 1998 12:37AM Curt Putnam wrote:
The routines I use do (basically) the following:
At login time, post login date & time to a user record (security stuff, etc.)
As a Replace_Index routine (activated by inactivity) start a countdown process. Once the requisite time length has passed, clear the login record and log the folks off.
You can add all kinds of embellishments….
At 08 JUL 1998 12:58AM Chris Vaughan wrote:
This will mean that idle work stations will 'spin their wheels' instead of regularly checking for useful stuff to do (index updates, inter alia).
An MFS could record the time of the last application IO (ie. not an index update) in a labelled common variable. An index hook process could check the elapsed time since the last IO and force the logoff when appropriate.