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

How can get the user's IP address ?

How Can I get the web user's IP address ?

--
FireCrow Studio
Kylin Garden
EMail:ga*******@gmail.com
ICQ:156134382
Nov 19 '05 #1
3 1927
Request.UserHostAddress

-Brock
DevelopMentor
http://staff.develop.com/ballen
How Can I get the web user's IP address ?


Nov 19 '05 #2
Hi

Request.UserHostAddress.ToString()

Regards,

Daniel Roth
MCSD.NET

Kylin wrote:
How Can I get the web user's IP address ?

--
FireCrow Studio
Kylin Garden
EMail:ga*******@gmail.com
ICQ:156134382


Nov 19 '05 #3
As others have already given you the solution, I just want to advise you
that if your web site allows anonymous browsing, most Internet users do not
have a permanent IP address. In fact, it will change usually every several
days, if on a constant connection, and every time the user dials up if on a
dial-up connection.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Kylin" <ga*******@gmail.com> wrote in message
news:eb**************@tk2msftngp13.phx.gbl...
How Can I get the web user's IP address ?

--
FireCrow Studio
Kylin Garden
EMail:ga*******@gmail.com
ICQ:156134382

Nov 19 '05 #4

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

Similar topics

1
by: CAD Fiend | last post by:
Hello, I am making a form that will contain address fields for a land owner, but sometimes the land owner does not live on the same property they own (for instance, they may be renting it out to...
5
by: Phillip N Rounds | last post by:
I have a webform ( ASP.NET 1.1, CodeBehinde = C#). The user selects an address item from a dropdown list box. The details of the address then populate appropriate text boxes. Each textbox has an...
5
by: c676228 | last post by:
Hi, I guess I am confused. In aspx script, I mean (you won't use Codebehind="enrollinfo.aspx.vb", but mix code with html and code together) You can access user control's property directly. Since I...
5
by: rn5a | last post by:
Consider the following user control which resides in Address.ascx: <script runat="server"> Public Property Address() As String Get Address = txtAddress.Text End Get Set(ByVal value As String)...
3
by: rn5a | last post by:
I already have a user control, named Address.ascx, which displays 4 TextBoxes. As such, there's no problem in rendering these 4 TextBoxes in a ASPX page. The ASPX page renders the 4 TextBoxes twice...
2
by: underground | last post by:
Hi, everyone I've been trying to figure out a way for a user to update there information. I'm using sections to identify the specific user..Here is the form <? include("include/session.php");...
4
by: Karthik Gurusamy | last post by:
Hi, I see that I can provide a default value for an option. But I couldn't find out any way if the user really entered the option or the option took that value because of default. A simple check...
1
by: kang jia | last post by:
hi when user entered particulars in signuppage and click" signup" button, i will direct them to do_signup.php. if say the NRIC is dupicate in datebase, i will redirect them back to signup page...
3
by: Chris Noble | last post by:
I need to be able to read and add to the collection of email addesses for an Active Directory User with a mailbox. I assume that this is a collection object. However I can't find any help on which...
1
by: rolan | last post by:
I am trying to figure out how to store and access an array, which is created inside a function, and needs to be accessed outside the function. My user defined class has set and get functions for 2...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.