it’s ‘mostly’ reliable to ask the request for several common headers that may 
contain an IP, but of course you never really know what’s going to get sent up.

oh, this might help

http://en.wikibooks.org/wiki/WebObjects/Web_Applications/Development/Tips_and_Tricks

that’s the idea there basically.



On Aug 7, 2013, at 11:59 AM, Theodore Petrosky <[email protected]> wrote:

> I have never done something like this, so before I start banging my head on 
> the table.
> 
> I want to log the IP address of the person that:
> 1. lands on my page
> 2. presses the submit button
> 
> It is a simple question page. I want to know how many unique IPs view the 
> page, so I thought I would just log the IP to my database. then if you answer 
> the question on the page and press the submit button I want to log that IP 
> also.
> 
> at the end of the day I will know that 500 unique IPs saw the page and 5 
> unique IPs pressed the submit button. this shouldn't be that hard but I don't 
> know where to start.
> 
> Ted
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
> 
> This email sent to [email protected]

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

This email sent to [email protected]

Reply via email to