Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 IP Logging of member's last visit
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Webbo
Average Member

United Kingdom
982 Posts

Posted - 24 February 2004 :  17:56:34  Show Profile  Visit Webbo's Homepage

In inc_func_common.asp line 593, the details of a member's last IP are entered into the database using the following:

strSql = strSql & ",    M_LAST_IP = '" & Request.ServerVariables("REMOTE_ADDR") & "'


The REMOTE_ADDR uses the server variable to identify the member's IP address but it stops at a proxy address if one is being used.

Is there a way of determining the member's true IP when checked other than the IP of the proxy?

I have tried replacing REMOTE_ADDR with:
HTTP_X_FORWARDED_FOR
CLIENT_IP
HTTP_FROM

but this returns a blank

Thanks,

Dave

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 24 February 2004 :  18:37:41  Show Profile
nope. the IP will always be that of the computer requesting the page and in this case it is the proxy.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 25 February 2004 :  03:53:27  Show Profile  Visit Webbo's Homepage
Thanks Nikkol
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07