Set up something like this in the startup script.
Mname = machine name (or whatever dos command returns the machine name)
Then using a combination of the getenv("clientname") and getenv("mname"),
you can begin to identify the logins that are occurring..
Virgil Bierschwale
Armstrong and Skipper Real Estate
(830) 329-6774 Cell
(830) 864-4726 Home
(830) 864-4799 Fax
http://www.geocities.com/vbierschwale/
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Malcolm Greene
Sent: Thursday, September 21, 2006 4:27 PM
To: [email protected]
Subject: Detect user logged in multiple times under Terminal Server
Terminal Server gurus: Is it possible to detect if the same user is
logged in multiple times? I'm looking for a way to distinguish between a
single user running an application multiple times (ok) and multiple
users logged in under the same login name running an application
multiple times? (not ok)
Does Terminal Services expose a unique 'session id' that I can combine
with a user's getenv( 'CLIENTNAME' ) so that I can distinguish between
different sessions with the same CLIENTNAME?
Thanks!
Malcolm
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.