How do I get an anonymous user's IP address from within a Plone product?

I want to modify PloneSurvey to return the user's IP address with the
survey submission. We only use anonymous surveys, so I want some way to
see if someone is stuffing the survey box. I know an IP address is not
the best way, but I think in my particular use case it will be
effective.

There is a method in PloneSurvey that returns and id for anonymous
submissions. I just don't know how to access the anonymous user's IP
address from within Plone.

Thanks!

Mark

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to