Hi there,

On 20/10/2005, at 3:31 AM, Eric Stewart wrote:

I need to record the IP address and User Agent of browsers that access
a certain direct action.

I did some digging and I found a reference to this:

Request.headerForKey("pc_remote_addr");

Unfortunately, this does not work. Can anyone point to a document that
shows how to get the IP and User Agent from a user?

On top of the other suggestions you can always see all the headers via:
    aRequest.headers(); // returns an NSDictionary

with regards,
--

LD


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to