Server information

  • Thread starter Andrew Durstewitz
  • Start date
A

Andrew Durstewitz

Hi! I have a little bit of a problem. I have 4 computers using Network
Load Balancing. They all share 1 Virtual IP to take requests on.

Problem. I can't tell what server is taking the request when I view a
page. I want to make sure the NLB is working correctly. Is there a way
to get the name of the machine or something using asp?

Thanks,
Andrew J Durstewitz

DEVBuilder.org, http://www.DEVBuilder.org
ASP,ASP.NET,VB.NET,PHP,Java,and SQL Support, all in one place.
 
R

Ray at

I want to say that request.servervariables("local_addr") will return the IP
of the individual server. If not, you could do something like:

response.write server.CreateObject("WSCript.Network").Computername

Ray at work
 
D

dlbjr

Make it a habit to use CreateObject("XXX") not server.CreateObject("XXX").
There is a big performance difference and the code is transparent between
asp and vbs.

-dlbjr

Discerning resolutions for the alms
 
B

Bob Barrows

dlbjr said:
Make it a habit to use CreateObject("XXX") not
server.CreateObject("XXX"). There is a big performance difference and
the code is transparent between asp and vbs.



There are good reasons for using Server.CreateObject on pre-IIS5 servers
(our intranet sites are still on NT4 servers). You are correct if IIS5 and
above is being used.

HTH,
Bob Barrows
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,610
Members
45,254
Latest member
Top Crypto TwitterChannel

Latest Threads

Top