Hello, 4D version 15 R5 introduces a new feature, which sounds _very_ interesting:
------------- Application sleep If a client machine goes into sleep mode, the client application will automatically inform the server "I’m sleeping" and its connection will be closed - but the session is kept open on the server. When the machine wakes up, the session will resume and the client can continue to work as if it had remained connected the whole time. ------------- This would be very useful for many of my users, who use laptops which go to sleep while they go for a cup of coffee or whatever, and then find they're disconnected when they come back and have to reconnect to get back in to 4D. However, how is this working in the real world? The two questions I have are: 1) If someone has a record locked when their computer goes to sleep, does this remain locked permanently until they reconnect? 2) In the case of yes for #1, is the only way to release this record is to go on the 4D Server and kill that user's process (which will be indicated as "sleeping")? I'm thinking the usual "watch" loop on the user's machine that would CANCEL an operation after a certain period of time won't work, as the process will be sleeping thus no code executing. So it seems like the only way out is to force kill the process on the 4D Server? (This would be in the case where someone put their computer to sleep at the end of the day then went home, while others still needed to access the record.) Any comments on how this is working from anybody who's using it would be very helpful. I'm thinking what might be extremely useful would be a "kill process" command in the 4D Language so that this could be handled through code rather than having to go on the 4D Server itself to perform this action. Does this exist? One other question: is this a feature that can be activated per user via a preference or something? That is, is there a way to revert back to the "old" way where processes are automatically killed by the 4D Server when a client disconnects? Many thanks! Michael Larue Dimension IV Consulting, LLC ********************************************************************** 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:[email protected] **********************************************************************

