JS: Auto logout for idle user on a Remote Form

Mike Matthews omnis at lineal.co.uk
Thu Dec 8 16:02:29 EST 2016


Thank you.

Mike


 

On 8 Dec 2016, at 20:54, Jeffrey Jones <jjones at synergos.com> wrote:

> In the remote task you could use.
> 
> Timeouts
> 
> You can control how long someone is connected to the Omnis App Server and how long a single client connection can remain idle, using the following properties.
> 
>   $maxtime
> the maximum time in minutes that a client is allowed to stay connected; the default value is 0 which means the client can stay connected indefinitely.
> 
>   $timeout
> the maximum time in minutes that a client is allowed to stay idle; the default value is 0 which means the client is allowed to stay idle indefinitely. 
> 
> 
>> On Dec 8, 2016, at 12:32 PM, Mike Matthews <omnis at lineal.co.uk> wrote:
>> 
>> Hello All,
>> 
>> To stop an Omnis licence being tied up for an extended period for JS users, what is the best strategy?
>> 
>> I'm using v6.1 and thought of a $timer being run, and after each TAB or screen change or button click, the timer is restarted.  And if it gets to 5 minutes of idle time, boom, away it goes to a different website.
>> 
>> But is there a better way, or a built in one for Remote Form users?
>> 
>> Thanks
>> 
>> Mike
>> 
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>> 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com






More information about the omnisdev-en mailing list