Hi,
In my ASP.NET application I am using client IP, I was using
"Request.Server Variables["REMOTE_ADD R"]" to get client IP. Now I moved my
servers to under Cisco content switch for load balancing. Now
"Request.Server Variables["REMOTE_ADD R"]" and
"Request.UserHo stAddress", both returning Content switch IP instead of
client IP. Is there any way I can get client IP from C# under load balancing
mode??
Thanks in Advance,
SA. 3 50478
SA
You didn't say if you're using a web service or a web page. Please follow
the examples:
ASP.net page
=========
Response.Write( Request.UserHos tAddress())
Web Service
=========
Context.Request .ServerVariable s ["REMOTE_ADD R"]
--
Regards,
Robson Siqueira
Enterprise Architect
"SA" <sa****@megabyt esystems.comwro te in message
news:%2******** **********@TK2M SFTNGP06.phx.gb l...
Hi,
In my ASP.NET application I am using client IP, I was using
"Request.Server Variables["REMOTE_ADD R"]" to get client IP. Now I moved my
servers to under Cisco content switch for load balancing. Now
"Request.Server Variables["REMOTE_ADD R"]" and
"Request.UserHo stAddress", both returning Content switch IP instead of
client IP. Is there any way I can get client IP from C# under load
balancing mode??
Thanks in Advance,
SA.
My Sources say "Doubt it".
Cheers,
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net
"SA" wrote:
Hi,
In my ASP.NET application I am using client IP, I was using
"Request.Server Variables["REMOTE_ADD R"]" to get client IP. Now I moved my
servers to under Cisco content switch for load balancing. Now
"Request.Server Variables["REMOTE_ADD R"]" and
"Request.UserHo stAddress", both returning Content switch IP instead of
client IP. Is there any way I can get client IP from C# under load balancing
mode??
Thanks in Advance,
SA.
Hi Robson, Thanks for the reply.
It's a web page. I tried both in the web page, both are returning Content
switch IP instead of client IP :(.
Thanks,
Sudheer.
"Robson Siqueira" <ro****@robsonf elix.comwrote in message
news:uw******** ********@TK2MSF TNGP05.phx.gbl. ..
SA
You didn't say if you're using a web service or a web page. Please follow
the examples:
ASP.net page
=========
Response.Write( Request.UserHos tAddress())
Web Service
=========
Context.Request .ServerVariable s ["REMOTE_ADD R"]
--
Regards,
Robson Siqueira
Enterprise Architect
"SA" <sa****@megabyt esystems.comwro te in message
news:%2******** **********@TK2M SFTNGP06.phx.gb l...
>Hi, In my ASP.NET application I am using client IP, I was using
"Request.Serve rVariables["REMOTE_ADD R"]" to get client IP. Now I moved my servers to under Cisco content switch for load balancing. Now "Request.Serve rVariables["REMOTE_ADD R"]" and
"Request.UserH ostAddress", both returning Content switch IP instead of client IP. Is there any way I can get client IP from C# under load balancing mode??
Thanks in Advance,
SA.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: JezB |
last post by:
Any way I can get at a unique "Client ID" within server code ? I'm writing
some auditing and I want to record which particular client machine initiated
a request, for example.
I imagine in an internet environment the only unique client ID is the IP
address, can I get at this?
In an intranet environment I'd prefer to get the unique client machine name,
as known to the network (and possibly network user ID name while we are
about it!).
|
by: Andy |
last post by:
Hi all,
In a recent intranet project, I want to limit the access to my mobile
asp.net appl only to a set of authorized MAC addresses by determining
client's MAC address.
Is there any way to recognize client's MAC address in vb.net?
I'll appreciate any helps.
TIA,
andy
|
by: rs |
last post by:
how I the client tell the server that the socket is closed? or this there an
even that informs the server that the clients socket is close?
Oh, I am using vb.net 2003
Thanks
|
by: Goh |
last post by:
Hi,
I would like to know how can we implement a web page that
intelligent enough to unique identify that pc have been visit before without
any cookies and login user require.
I have try implement this by MAC address. When user browser the web
site I sometime can get user pc MAC and sometime no.
Why this type of implementation are so not consistency? Does any
|
by: Sandeep Singh |
last post by:
I am making socket client application in C#
how can i get ip address of client who has connected to server
| |
by: Ankit Aneja |
last post by:
The code of classes given below is for server to which clients connect
i want to get ip address of client which has connected
pls help how can i get
//listen class
public class listen
{
|
by: James |
last post by:
Hi,
I'm new to ASP .NET, working on a school project, which i need to find out
the client's MAC address. However in my search on the web, i have not find
any method available, and some mention that it is not possible.
I hope someone will be able to help me out about this!
Thanks!
Regards
|
by: WhatHappend |
last post by:
I have converted a .Net 1.0 application to .Net 2.0 and the web service
invocations have delay of around 10seconds on each intial access. After the
first access subsequent access are fast (After a whild of inactivity the next
access will be slow agian). Changing the client to static IP address instead
of DHCP makes the initial access about 1 second which is fine.
Monitoring the network of the client computer the cleint is sending out 2...
|
by: RFD |
last post by:
I've been slaving at this problem for over a week, and would appreciate some help from you kind folks.
Basic Problem: I have made a server program and a client program. When I try to use the client to connect to 127.0.0.1 or my LAN IP, the program connects and transfers information successfully. However, when I get somebody else to host the server, or when I try to connect to a server on my own machine using my WAN IP, I currently get a...
|
by: Mike |
last post by:
Hi ASP Gurus,
Please help me solving my problem.
I am trying to get the clients IP address but I am not able to do it
successfully. I have tried:
Request.ServerVariables("http_user_agent")
Request.ServerVariable("remote_addr")
But I am getting something like '125.1.1*'
What do I need to get the IP address assigned my the ISP.
|
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,...
| |
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...
|
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,...
|
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...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |