[Zope-dev] Product access to IP

Philip Aylesworth zopelist@regalint.com
Wed, 24 Mar 1999 12:50:49 -0500


>Is there a function or request variable which would tell me from within
>a product what IP address had requested the page? I am writing a counter
>product, which is working, thanks to Jim Fulton, but I would like to
>keep a log of recently registered IPs and not up the counter when they
>connect, to prevent 'running up' of the counter. To do this, I need to
>access the IP address of the machine requesting the web page.


<!--#var REMOTE_ADDR--> will do it.


Phil A

------------------------------------------
Philip Aylesworth    zopelist@regalint.com
Regal International