473,703 Members | 3,125 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 1264
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
1553
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 the exception of images. I think I know what the problem is, but I'm not sure how to fix it. The...
2
1930
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 way for the students to go to a login page and when logging in will be automatically directed to...
3
1627
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 security=SSPI;persist securit
2
3311
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 browser POSTs the form back to the login pag 6) If the credentials are valid, the server responds with...
2
1669
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 ReturnUrl is also the name of a parameter used by forms
8
1770
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 hotel names in a drop-down list, and we have to consider the fact that not every user is going to...
5
2951
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 questions. 1) Can I run vb .net web pages on a regular IIS server without the .net extensions? 2)...
15
4625
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 before needed to do this HTTP/XML/MySQL type functions.
38
5068
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
8662
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9112
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9005
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8961
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7856
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4425
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3115
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
2
2440
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2058
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.