Name

ClientIP — objLogUtil .ClientIP

Synopsis

The IP address of the client's machine or the client's proxy server.

Parameters

None

Example

See the example at the end of this chapter.

Notes

You can only rarely assume this IP address represents the actual IP address of the client making the HTTP request. More often, it is either the address of a host (as is the case when the client is using an ISP) or the address of a proxy server (as is usually the case when the client is connecting from work).

Get ASP in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.