Focal Point
[SHARING] A Time Out to Save Your Data

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/427108254

May 28, 2010, 11:47 AM
Kerry
[SHARING] A Time Out to Save Your Data
A Time Out to Save Your Data
By Mark Derwin

As a developer, you always want your applications to end cleanly. Disconnects, abnormal terminations, and errors can lead to unsaved data, corrupt databases, and hanging agents. When users enter data onto a screen and hit “Save,” the last thing they want to see is that the session has timed out. The technique I am about to describe takes the worry out of that.

If you have ever used an online banking system, and have been idle too long, a message pops up on your screen asking if you need more time. That is what we are going to do here.

A nice thing about this technique is that you can either create a JS procedure and embed it in your forms or edit the MNTONLOAD.JS procedure and place it in there. Anything placed in that file is automatically included in every executed Maintain procedure. The only thing you have to do is place the button on your form.

Click here to read more.


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.