473,569 Members | 2,526 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need a web page that responds with Local server name

We have two Windows Server 2003 Web servers behind an F5 load
balancer("serve r1" 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.ServerV ariables, 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 1259
http://www.aspfaq.com/show.asp?id=2263

These may help you out.
"James" <Ja***@discussi ons.microsoft.c om> wrote in message
news:96******** *************** ***********@mic rosoft.com...
We have two Windows Server 2003 Web servers behind an F5 load
balancer("serve r1" 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.ServerV ariables, 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***@discussi ons.microsoft.c om> wrote in message
news:96******** *************** ***********@mic rosoft.com...
We have two Windows Server 2003 Web servers behind an F5 load
balancer("serve r1" 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.ServerV ariables, 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
1544
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 Dreamweaver to edit my pages. When attempting to preview pages the include file is being read and the page is properly displayed in the browser with...
2
1922
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 like test scores and etc(the homework and info page will reside on our webservers at the school on the local intranet network). Now what I need is a...
3
1621
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 this is my connectio string: Private strsql As String Private strconnection As String = "data source=localhost;initia catalog=Customers;integrated...
2
3305
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 requests the login page specified 4) The server responds with the login pag 5) The user fills in the login page and submits the form, so the...
2
1665
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 have noticed that if the original request includes a parameter called "ReturnUrl", the server immediately responds with a 401 error. I realise that...
8
1763
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 Hotel Name, Street Address and Postcode. We need to make it as simple as possible for users to pick their hotel, but I don't want to put 1600...
5
2934
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. Anyway I've been calling my local ISP's and no one supports .net it seems to be all apache and MySQL. I'm wondering if everyone here can answer a few...
15
4578
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 communicate with a MySQL database table on a web server, from inside of my company's Access-VBA application. I know VBA pretty well but have never...
38
5048
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
7700
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8125
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.