you can use Get/set process variable to monitor from the server.
you can pass the boolean value through an execute on server method
you can use a 'fancy' means by:
   creating/deleting a record
   starting or stopping a process on the server
   add/remove a record to/from an IP set (I believe the server can see them)
   
there might be an OO way to do this too

Chip
> On Jul 15, 2021, at 12:46 AM, Kirk Brooks via 4D_Tech <[email protected]> 
> wrote:
> 
> The scope of an IP variable is the machine that it runs on. You are setting
> the IP variable in a form on the client machine so it only exists on that
> machine. On web connect runs on the server (most likely) so it doesn't
> share the same IP vars as the client.
> 
> This is the same situation with triggers, BTW. The server IP vars are not
> affected by anything a client does.
> 
> On Wed, Jul 14, 2021 at 9:22 PM eachilgers via 4D_Tech <[email protected]>
> wrote:
> 
>> Hi All,
>> 
>> 4D v17.5  server on windows 10, 2 clients running windows 10.
>> 
>> I have a single boolean (global) value that is set or reset on an input
>> form (in it’s own process) by a user.
>> This global variable has to be inspected during the On_Web_connection
>> process which it does.
>> 
>> However when the user (client) changes this value using an input form, I
>> can see the boolean change value (in the debugger) (true/false)
>> when looking at it in the On_validate form event.
>> 
>> If the boolean was initially true, in de debugger during the
>> On_Web_connection this is viewed…
>> and the user changes the value to false, then when the On_web_connection
>> fires, that global variable is still “true” (but should be false in my
>> book...).
>> 
>> (note: in the debugger I can set the global boolean to false, but from
>> then on it never changes that value)
>> 
>> What is it that I am missing ?
>> 
> 
> -- 
> Kirk Brooks
> San Francisco, CA
> ======================
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> 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)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to