473,494 Members | 2,223 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Server IP address

Hi,

How do I access the server name ? I don't want the the MachineName, what I
need is what the client enetered in his address bar to get to my site.

Thanks,

Steve
Nov 18 '05 #1
2 1599
Try request.url or request.servervariables("SERVER_NAME").

HTH
Craig

"Steve Caliendo" <sc*******@epion.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi,

How do I access the server name ? I don't want the the MachineName, what I need is what the client enetered in his address bar to get to my site.

Thanks,

Steve

Nov 18 '05 #2
It would be Request.Url.Host (I think)

--
Girish Bharadwaj
http://msmvps.com/gbvb
"Steve Caliendo" <sc*******@epion.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi,

How do I access the server name ? I don't want the the MachineName, what I need is what the client enetered in his address bar to get to my site.

Thanks,

Steve

Nov 18 '05 #3

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

Similar topics

3
2548
by: Bob Harrison | last post by:
I will be distributing an application that works with our security panel. The application can be loaded on several workstations in a network but only one workstation actually communicates via...
3
1066
by: S N | last post by:
I need to access this group from outlook express. kindly let me know about the news server address for this group? *** Sent via Developersdex http://www.developersdex.com *** Don't just...
5
8505
by: Mitya Mitriev | last post by:
Hi I created ASP.NET 2.0 web application that uses SQL Server 2000 database and it works perfectly when website and Sql server were on local machine. Then I installed application on production...
1
5667
by: Steve | last post by:
What's the best way to get server address to be used in class other than: request.url and then splitting the string ?? Isn't there a method that is not dependant on the request object ??
0
2822
by: deepak | last post by:
Hi All, i m develpoing a .net Window application which has 4 texboxes(tbxURLmfor URL in URL Frame,tbxAddress for address in Proxy server frame,tbxPort for port in proxy server...
0
1551
by: leonardo.schmidt | last post by:
Due to some connectivity problems with a client's VPN software, I'm developing an app that needs to obtain the current logged user's Exchange server address & add a new route (among other...
0
1055
by: Don | last post by:
Hi, I tried to set the web service server addess (http://localhost:8080/axis/services/MyWebService) in ClientBase object on my client, without succes. The constructor is quite complex that I...
0
1634
by: sarahnetworking | last post by:
Hello, I have developed a client server application using C. i have a list of usernames and a list of passwords in a text file. i need to be able to do 2 loops so i can send the usernames and...
1
1704
by: andrew.smith.cpp | last post by:
Hello All :-), i last Posted a request about the spam at google and someone told me about PAN i install it on my PC but when i start it and the msg shows there is no server selected .and then i...
1
9689
by: starter08 | last post by:
Hi, I have a C++ routine(client-side) which uploads an xml file to a web server by making a socket connection and sending all the post request through that socket. On the server side I have a cgi...
0
6989
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...
0
7195
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...
1
6873
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...
0
7367
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...
0
5453
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,...
1
4889
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...
0
3088
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...
0
1400
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 ...
0
285
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...

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.