[DUG] Terminal Server

Kyley Harris kyley at harrissoftware.com
Wed May 3 15:14:23 NZST 2006


No. it should reconnect you to the existing session. That's the whole
point.
Login, tell it to do some long task. Disconnect. Login again and resume
where you left off. 

Someone may correct me. But your ability to login from multiple machines
etc. depends on your network configuration. If its peer to peer you are
limited by access connections on the local machine, not by login. If you
are on a domain, generally it is concurrent CAL licenses etc. so Joe
could login from two machines, but this will consume 2 CAL licenses. If
you logged into the domain 2 times from one app on the same machine, its
still one CAL.

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On Behalf Of James Sugrue
Sent: Wednesday, 3 May 2006 2:46 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: RE: [DUG] Terminal Server

Now I'm confused what the original question was, but you can't log in to
more than one Terminal Server (2003) session with the same login. I.E if
you
login to a TS box that you have already logged into, it will close that
session and open a new one.

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On
Behalf Of Laurence Bevan
Sent: Wednesday, 3 May 2006 2:38 p.m.
To: delphi at ns3.123.co.nz
Subject: Re: [DUG] Terminal Server

The answer is yes - you can logon as many times as you like on a Windows
network with the same
login. If you're logging in through Terminal Server there is a session
name
which will be unique.
On a Windows network, the computer name/login name combination will be
unique.

Laurence Bevan


----- Original Message -----
From: John Bird
To:  "'staff'" <staff at belding.co.nz>,       "'NZ Borland Developers
Group -
Delphi List'" 
<delphi at ns3.123.co.nz>
Sent:  Wed, 3 May 2006 14:31:14 +1200
Subject: RE: [DUG] Terminal Server

Aha - Now I am confused!

Can the same login name be used on a Windows network from 2 different
screens?

I have now been given two answers - yes and no from two people who I was
sure knew the answer until now!

Incidentally this code works to detect if the program is running in a
RDP/Terminal Server session, I tested it to make sure it is compatible
with
all of Windows 95/98/XP/2003 TS.

function xfIsRemoteSession: Boolean;
const
  sm_RemoteSession = $1000; { from WinUser.h }
begin
  Result := (GetSystemMetrics(sm_RemoteSession) <> 0);
end;

John

-----Original Message-----
From: staff [mailto:staff at belding.co.nz] 
Sent: Wednesday, 3 May 2006 1:41 p.m.
To: johnkbird at paradise.net.nz; NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Terminal Server


Hello John

I thought a Windows login name was unique. The domain logged into
requires, 
as far as I know, a unique login name. Win 2003 server will not accept a

login name that is not unique. I am using the Windows login name to
identify

users in a Delphi Firebird apps.

Regards
Russell


----- Original Message ----- 
From: "John Bird" <johnkbird at paradise.net.nz>
To: "'NZ Borland Developers Group - Delphi List'" <delphi at ns3.123.co.nz>
Sent: Tuesday, May 02, 2006 5:03 PM
Subject: [DUG] Terminal Server


> Terminal Server:
>
> For tracking users (not necessarily for licencing), but for log files,

> working out who did what, what are the best variables to identify 
> individual users on a TS system?
>
> I tend to use environment variables, I guess the best is to use a 
> combination of SESSIONNAME and USERNAME
>
> (USERNAME (Windows login name) is not necessarily unique as I 
> understand)
>
> (COMPUTERNAME is just the server in this case).
>
> How do others distinguish users on a TS system?
> (I submitted this question again with the correct subject to make it
> clearer)
>
> John
>
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz http://ns3.123.co.nz/mailman/listinfo/delphi
> 




__________ NOD32 1.1461 (20060329) Information __________

This message was checked by NOD32 antivirus system. http://www.eset.com



_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi





More information about the Delphi mailing list