locked
Display machine name from Farm to webpage RRS feed

  • Question

  • We have multiple WEFs and load balancer. So user request will serve from any of the machine from the pool.
    Is it possible to use javascript or CSOM to the SharePoint web page and display requested server's machine name to the webpage? So that can see by load balancer which machine has been used or which physical machine has been actually deliver the webpage. I know it is possible by C# code, but trying find out by JS or CSOM. Thanks for your help. 

    Wednesday, August 1, 2012 4:14 AM

All replies

  • Using a client-side language will not reveal the server's actual name as the browser has no idea what the server's name is, just the URL it is using to access the server. I don't believe what you want to do is possible with Javascript or the client object model.

    Jason Warren
    Infrastructure Specialist

    Wednesday, August 8, 2012 3:25 PM