Old 08-08-2003, 07:18   #1 (permalink)
Wzd
Registered User
 
Join Date: Aug 2003
Posts: 4
getting IP address with ASP

Does anyone know any ASP code to get the ip address of a user visiting a site?. I wont to add it to the hit counter file so i can see who is actualy visiting my site and how often.

Thanks,
Wzd <
  Reply With Quote
Old 08-08-2003, 08:00   #2 (permalink)
Mr Fred
Magazines™
 
Mr Fred's Avatar
 
Join Date: Mar 2003
Location: Glasgow..
Posts: 11,275
dont you have normal stats ie domain/webstat

i paste the url into http://www.ripe.net/db/whois/whois.html and look at who is visiting but its difficult due to exchanges/roaming/dhcp ips
  Reply With Quote
Old 08-08-2003, 08:28   #3 (permalink)
Wzd
Registered User
 
Join Date: Aug 2003
Posts: 4
no, its cheap hosting you have to pay extra for stats!

i was hopeing i could do a simple version myself. i know you can get browser info with ASP i was just wondering if you can get other client info too (mainly IP addresses for ID).
  Reply With Quote
Old 10-08-2003, 12:38   #4 (permalink)
Luke Redpath
Barney army!
 
Luke Redpath's Avatar
 
Join Date: Mar 2003
Location: London
Posts: 696
Code:
<% Dim IP IP = Request.Servervariables("REMOTE_ADDR") %>
__________________
Luke Redpath .::. Software Engineer .::. Reevoo - Real Reviews From Real Customers
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8