Which clustered server is displaying current page?

We have clustered 2 servers with a load balancer in between them. I need to find a way to display which of the servers is actually displaying a page when viewing on the web. If I use CGI variables I’m looking at the load balancer not that actual server. Any thoughts on this is greatly appreciated.

Subject: Many ways to do it…

  • Add the server name (via @ServerName) as a comment to the HTML Header of your page (viable via “show source”)- Add computed text using @ServerName to the homepage and apply a hide/when to conditionally hide it, for example based on

an addtl. URL argument (like “&Debug=1”) or so, which you’d have to add to your URL to make it visible, etc.

Subject: RE: Many ways to do it…

Thank you so much. We’re just starting to test going to 6.51 from 5.12 but I was able to try your suggestion on our development server. YeeHa!! that’s just too easy :slight_smile:

Many Thanks