Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get Client, Session in Terminal Server Environmen
Message
 
To
19/05/2003 10:19:22
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00789972
Message ID:
00790319
Views:
35
Gregory,

SYS(0) returns the server computer name. In a Terminal Server
environment I need the Client's computer name
(e.g. GETENV("CLIENTNAME") and GETENV("SESSIONNAME").
Unfortunately environment variables are not save and
could be set before program start by customers.

Andreas


>Andreas,
>
>Can the first part of sys(0) be of any help ?
>
>Gregory
>_
>>Hello,
>>
>>I want to limit the number of users/program starts in a
>>Terminal Server Environment.
>>
>>How can I read the Clientname (Computer name) and the
>>Session ID?
>>
>>I know it is in the environmemt (GETENV). But this can be
>>easily manipulated by our customers (just setting different
>>values before program start).
>>
>>I already tried the registry (Volatile Environment), but these
>>values will be overwriiten if the same user name logs in twice.
>>
>>Any suggestions?
>>
>>Thanks in advance.
>>
>>Andreas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform