Hi Charles,
What I do is to set a semaphore on the server and clear it after the task is execute. On the On startup method for (if application type is 4D Remote) I test that semaphore. If the semaphore is set I notify the user and quit 4D. BTW, no user can connect to the server until On Server Startup method has been executed. So if you execute your code on methods called from On Server Startup (no new process) remote connections would not be possible. Alberto. > El 24-05-2018, a las 16:02, Charles Miller via 4D_Tech <[email protected]> > escribió: > > Hi All, > > subj says it all;. Has anyone figured out a way to control this setting via > program? > > If it can be done can anyone please advise how. > > If not would others like the ability to do this. I would so that when I > distribute new versions, I can start with that set when I have code that > has to run before users can log in > > Thanks and 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 Server 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: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

