Jump to content
Sign in to follow this  
innodes

idle timeout script?

Recommended Posts

The FM Server will allow the limitation of idle time. Is there anyway to do it without the Server? Is there a script that could do this?

thanks,

Share this post


Link to post
Share on other sites

Alternately you could ad a subscript that is called from the beginning of every script that you want affected which checks for user activity.

When the database is first opened:

- Store the time in a global variable

When a user clicks a button to run any script:

- compare the current time against the stored time.

- If it is greater than a predifined amount of time, force the database to close with a message. Otherwise update the global variable with the current time.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.