473,396 Members | 1,915 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,396 software developers and data experts.

can I set request.UserHostAddress

(Type your message here)

--------------------------------
From: robert rottermann
Hi everybody,
is it possible to set the UserHostAddress when sending a request?

Thanks for your time
Robert

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>4/DIq5oh70y/tAF7lc6JxA==</Id>
Nov 18 '05 #1
1 2449
robert rottermann via .NET 247 wrote:
(Type your message here)

--------------------------------
From: robert rottermann
Hi everybody,
is it possible to set the UserHostAddress when sending a request?


Your ASP.NET code receives HttpRequests, it doesn't send them. If you want
send a request to another server, use System.Net.WebClient or WebRequest.

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Nov 18 '05 #2

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

Similar topics

2
by: Tom | last post by:
Hi If I set a proxy in IE to view a view site. My IP is 223.12.98.244 and the proxy IP is 202.156.87.179 Can Request.UserHostAddress trace 223.12.98.244? I use C# If not, how can I trace...
2
by: TS | last post by:
I seem to remember reading somewhere that accessing this collection is expensive and you should avoid it if possible. Are there any alternatives to the following: Request.ServerVariables; ...
4
by: Ben Amada | last post by:
Hello! There are a couple of visitors (out of dozens) to this web page who are causing the following error to occur: "Object reference not set to an instance of an object." I'm actually...
5
by: tma | last post by:
I am creating code that makes decisions based on the result of the Request.UserHostAddress. Is there a way I can search on /CIDR or range of IP addresses without specifying an exact search string,...
3
by: hn | last post by:
I would like to get the visitor's ip address. Which one is the appropriate one to use: Request.ServerVariables("REMOTE_ADDR") or Request.UserHostAddress? Thanks in advance.
2
by: Shimon Sim | last post by:
How to find out IP address of request? If I sent request via HttpWebRequest can I set IP or it is added automatically? Thanks, Shimon.
5
by: Brian Henry | last post by:
I want to be able to forward any request from my one site to another site based on the IP address... kind of like denying access to the site if an IP is a certain one if they try to access any page...
0
by: cbanks | last post by:
I have read the messages about (not) always obtaining the 'actual' ip address of the sender using Request.UserHostAddress. What I don't understand is why does the W3SVC1 show one ip address and...
9
by: Mark Rae | last post by:
Hi, Now that the VS.NET 2005 SP1 update patch is with us, I'm in the process of moving my main development environment onto 64-bit Vista Business Edition - so far, so good... However, there...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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?
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...
0
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
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
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
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,...

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.