Forum Moderators: open

Message Too Old, No Replies

IP Addresses and frames

         

brickwall

4:52 pm on Mar 30, 2006 (gmt 0)

10+ Year Member



Iam logging visitor IP addresses via Request.ServerVariables("REMOTE_ADDR") in ASP 3.0

When my page is called from another web page to be displayed inside a frame, which IP will be contained in Request.ServerVariables("REMOTE_ADDR")

- the IP of the requesting web page?
- or, the IP of the user viewing the web page?

Iam confused.

Thanks in advance.

ChadSEO

5:24 pm on Mar 30, 2006 (gmt 0)

10+ Year Member



Brickwall,

REMOTE_ADDR should always be the client's address, since it is their browser making the request, not the server of web page.

Chad

brickwall

11:39 pm on Mar 30, 2006 (gmt 0)

10+ Year Member



ah OK, thanks Chad.