Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Closed Thread
display ip address in asp
Old 05-30-2009, 03:16 AM display ip address in asp
harish's Avatar
Average Talker

Posts: 26
Name: Harish kumar
Trades: 0
hello friends, I am going to design a website. I want to display the ip address of visitors on the web page. But I do not know how to display ip address of the visitors using asp. Can any one help me to display ip address of the visitors on the webpage of visitors.
__________________

Please login or register to view this content. Registration is FREE
||
Please login or register to view this content. Registration is FREE
||
Please login or register to view this content. Registration is FREE
harish is offline
View Public Profile
 
 
Register now for full access!
Old 05-30-2009, 12:04 PM Re: display ip address in asp
Experienced Talker

Posts: 30
Name: Kulrom
Location: Republic of Macedonia
Trades: 0
If it's classic ASP (VBScript) use the following:

Code:
Response.Write (Request.ServerVariables("REMOTE_HOST"))
for ASP.NET use this:
Code:
Response.Write (Request.UserHostAddress())
Kulrom is offline
View Public Profile Visit Kulrom's homepage!
 
Old 05-30-2009, 12:10 PM Re: display ip address in asp
Experienced Talker

Posts: 30
Name: Kulrom
Location: Republic of Macedonia
Trades: 0
Actually you can use the first one in ASP.NET as well.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Kulrom is offline
View Public Profile Visit Kulrom's homepage!
 
Old 05-31-2009, 03:08 AM Re: display ip address in asp
harish's Avatar
Average Talker

Posts: 26
Name: Harish kumar
Trades: 0
Quote:
Originally Posted by Kulrom View Post
If it's classic ASP (VBScript) use the following:

Code:
Response.Write (Request.ServerVariables("REMOTE_HOST"))
for ASP.NET use this:
Code:
Response.Write (Request.UserHostAddress())

wow, I have tried it. And it is working. Thanks for the reply...
__________________

Please login or register to view this content. Registration is FREE
||
Please login or register to view this content. Registration is FREE
||
Please login or register to view this content. Registration is FREE
harish is offline
View Public Profile
 
Old 10-29-2010, 07:22 AM Re: display ip address in asp
Banned

Posts: 5
Name: samloy8
Trades: 0
IP blocking a server / website and some IP addresses or ranges of addresses the relationship between the blocks. IP blocking feature allows you to block a range of IP addresses individually or addresses. Dealers individual order review page or the risk of equipment within the IP block page can use IP blocking feature.
samloy8 is offline
View Public Profile
 
Closed Thread     « Reply to display ip address in asp
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26382 seconds with 12 queries