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

Home Posts Topics Members FAQ

How can i get a client's IP Adress

I am developing a shopping site. I want to determine a client's IP Adress who
visits to store in a database for security reasons. How can i do that?

Thanks...
--
No Sign
Nov 19 '05 #1
4 951
Request.UserHostAddress.ToString

Nov 19 '05 #2
Thank you very much...
--
No Sign
"sa********@yahoo.com" wrote:
Request.UserHostAddress.ToString

Nov 19 '05 #3
sa********@yahoo.com wrote:
Request.UserHostAddress.ToString


Test this with proxy-servers between client and server!
We tried something similar once, but we always got the address
of the proxyserver of the hosting center!

Hans Kesting
Nov 19 '05 #4
Hans Kesting wrote:
sa********@yahoo.com wrote:
Request.UserHostAddress.ToString


Test this with proxy-servers between client and server!
We tried something similar once, but we always got the address
of the proxyserver of the hosting center!


That's why they call it proxy ;-)

Some proxies forward the original IP address using a special HTTP
header like X-Forwarded-For.

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #5

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

Similar topics

0
by: Per Eskilson | last post by:
We have a problem getting reply to a VB-6 client from a GSOAP Unix server. The GSOAP WEB-server on UNIX is replying fine if we connect to the server from a .net client. But some (not all) VB-6...
2
by: WIWA | last post by:
Hi, I want to make a UDP client server application that is conform to RFC868 (Time protocol). Both the UDP client and UDP server are in a test phase. The question is: when I add ...
1
by: KS | last post by:
Is it possible to get a client browser ip-adress when it access my webpage? If the client is behind a network from a company can I get the ipadress gateway where the client is behind or is it i...
0
by: Jarod_24 | last post by:
I got a function that return the url of a image, the problem is that the image control on the .aspx page automaticaly adds the adress of itself to the adress Example: The page...
3
by: Jarod_24 | last post by:
I got a function that return the url of a image, the problem is that the image control on the .aspx page automaticaly adds the adress of itself to the adress Example: The page...
6
by: libero familymac news | last post by:
Hy! sorry for my bad english... i'm developping web forms in c# and i have to take the client machine name I try with server variables ( request.servervariables ) and with...
11
by: mwebel | last post by:
Hi, i had this problem before (posted here and solved it then) now i have the same problem but more complicated and general... basically i want to store the adress of a istream in a char* among...
3
Sagittarius
by: Sagittarius | last post by:
Hi there. I have a problem concerning an UDP socket in C++ (Winsock). The next paragraphs is merely to explain the system I am working on. If U want to skip it, I have marked the question in...
3
by: Joh | last post by:
I'd like to test a server application and a client application from the same computer. Currently if I let the client try to connect to my IPv4 adress provided by my router in this case 192.168.1.2...
0
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,...
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
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,...
1
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.