Hi Ron,
>> I am calling a Web Client from a button on an NT form. Web Client is on same thread. Web client is asynchronous as I understand.
all correct so far. Presumably you have some sort of WebClient procedure that you are calling from some embed code, like under a button or something.
The easiest step is to pass p_web into that procedure. You can do this by adding a parameter;
(NetWebServerWorker p_Web)
then inside that procedure, in the .PageReceived method you can set session values or whatever else you need to do.
So assuming you have a form. With a Button. And the button then runs this code. And this code then updates a sessionValue.
Then all that's left is to have that session value as a field on the form (perhaps a "display" field?) and then add that display field to the "reset list" for the button.
cheers
Bruce