473,383 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Need a web page that responds with Local server name

We have two Windows Server 2003 Web servers behind an F5 load
balancer("server1" and "server2"). Application requests are via the dns name
of this "cluster" ("servervip"). The application needs to return the name of
the server the handles the request (asp) so the application can check a local
security group on that server to grant or deny access to that appliation.
Why this way? I don't know, I did not write the app...
Request.ServerVariables, which works perfectly with direct request to one of
the servers (bypassing the virtual), returns empty when called throught the
virtual. Hard coding the server name in the asa, ini or other is not an
option.

Best regards,
James
Jul 22 '05 #1
2 1252
http://www.aspfaq.com/show.asp?id=2263

These may help you out.
"James" <Ja***@discussions.microsoft.com> wrote in message
news:96**********************************@microsof t.com...
We have two Windows Server 2003 Web servers behind an F5 load
balancer("server1" and "server2"). Application requests are via the dns
name
of this "cluster" ("servervip"). The application needs to return the name
of
the server the handles the request (asp) so the application can check a
local
security group on that server to grant or deny access to that appliation.
Why this way? I don't know, I did not write the app...
Request.ServerVariables, which works perfectly with direct request to one of
the servers (bypassing the virtual), returns empty when called throught the
virtual. Hard coding the server name in the asa, ini or other is not an
option.

Best regards,
James
Jul 22 '05 #2
The WMI method works! Thank you very much!

"Lance Wynn" wrote:
http://www.aspfaq.com/show.asp?id=2263

These may help you out.
"James" <Ja***@discussions.microsoft.com> wrote in message
news:96**********************************@microsof t.com...
We have two Windows Server 2003 Web servers behind an F5 load
balancer("server1" and "server2"). Application requests are via the dns
name
of this "cluster" ("servervip"). The application needs to return the name
of
the server the handles the request (asp) so the application can check a
local
security group on that server to grant or deny access to that appliation.
Why this way? I don't know, I did not write the app...
Request.ServerVariables, which works perfectly with direct request to one of
the servers (bypassing the virtual), returns empty when called throught the
virtual. Hard coding the server name in the asa, ini or other is not an
option.

Best regards,
James

Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: DaveB | last post by:
I have to come up to speed quickly on PHP since I have been given the responsibilty of updating our website. I have setup a local web server through IIS, downloaded and installed PHP. I'm using...
2
by: Bobby | last post by:
Hello everyone I have a question. The school I am working for is in the beginning process of having a webpage that will direct students to download there homework and be able to view there info...
3
by: Justnew | last post by:
Hei All Can some body help me here: I have a database name Customers, I a trying to connect to SQL server through vb.net using asp.net webform. I want to connect to the server programatically...
2
by: Iggy Evans | last post by:
Hi My app is trying to login to an ASP.NET site that uses Forms authentication. I am trying to do in my app (what was previously posted in a newsgroup) the same that a browser does 3) The browser...
2
by: Andy Fish | last post by:
Hi, I have an app in the 1.1 framework that uses forms authentication . In the normal case, if the user requests a page and is not logged in, he is redirected to the login page. However, I...
8
by: Ben Fidge | last post by:
Hi I'm working on a site which requires the users to specify a hotel at which they're staying in London. The complete list of hotels comes to something like 1600 records. Each record consists of...
5
by: HotRod | last post by:
I am new to this so please go easy. We currently have some students doing some work on some web based tracking documents for us. They are currently using VB .net to develop what we requested....
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
38
by: ted | last post by:
I have an old link that was widely distributed. I would now like to put a link on that old page that will go to a new page without displaying anything.
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.