• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IP & User Agent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IP & User Agent


  • Subject: Re: IP & User Agent
  • From: LD <email@hidden>
  • Date: Thu, 20 Oct 2005 07:44:03 +1000

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@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >IP & User Agent (From: Eric Stewart <email@hidden>)

  • Prev by Date: Re: Set String methods for Flattened Relationship Attributes
  • Next by Date: Re: NSDictionary and FetchSpecificationNamed usage
  • Previous by thread: Re: IP & User Agent
  • Next by thread: Localizing time
  • Index(es):
    • Date
    • Thread