On Mon, Mar 6, 2017 at 4:23 PM, rooftop99--- via 4D_Tech < 4d_tech@lists.4d.com> wrote:
> > In a large client/server install we are implementing a function to allow > one user (client) to drop another from the server. It seems that > regardless of how much training is given, inevitably someone during the day > walks away from their computer (lunch, etc.) with a record opened. > Managers of the department who need access to the locked record attempt to > contact the offending person. If they can’t they call the development team > to drop the user from the server. I would like to cut out the middleman - > me…grin. > > I am just curious how others are handling this…? I have two possible > strategies in mind: > > - Run a monitoring loop on each client that will test a flag. If flag is > true, quit 4D. (Easy, but adds another resource pull on the server/client.) > - Have 4D execute a command line statement to kill the app on the > offending machine. (Fairly easy) > > Any thoughts? I am hoping I overlooked something and someone will say - > “4D already has this function, just call xyz command..." > > Thanks, > Kirk make sure you register each client with a unique name. and then do an execute on that client a method that quits 4D. Please not if you do this changes to open records will not be saved. Regards Chuck -- ----------------------------------------------------------------------------------------- Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064 Informed Solutions, Inc. Brookline, MA 02446 USA Registered 4D Developer Providers of 4D, Sybase & SQL Sever connectivity http://www.informed-solutions.com ----------------------------------------------------------------------------------------- This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************