Subject Re: [firebird-support] Terminal Server
Author Geoff Worboys
> I know some of you are using Terminal Server, and I have a
> test system set up, which is working OK, except - I have no
> way of identifying the client machine name - since it always
> replies with the server name.

The following link has an API description for terminal server.
http://www.microsoft.com/ntserver/techresources/deployment/terminal/api.asp
See in particular: WTSQuerySessionInformation

I have not used this API myself, so far I have always cheated
and used environment variables. The problem with the
environment variables is that their content is not always
consistent - and I dont know if the same problem occurs with
the API.

For example my client's network has a mix of PCs and thin
terminals connecting to the terminal server, and what appears
in the clientname variable seems to vary.

If you want to discuss this further offline just email me.

--
Geoff Worboys
Telesis Computing