[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How do I get the client IP address from a bibformat element?
- From: Ferran Jorba <Ferran.Jorba@xxxxxxx>
- Subject: How do I get the client IP address from a bibformat element?
- Date: Mon, 14 Apr 2008 09:31:26 +0200
Hi all,
I'd like to know the IP adress of the remote client from a bibformat
element (bfe_fulltext.py in my case), basically to know if it belongs to
UAB or not.
As the mod_python FAQ entry states [1], I'd should be using
req.get_remote_host(). However, as this req object is lost somewhere
during the load of the bibformat element, do I still have a chance to
know it?
I'm still on 0.92.1. Thanks,
Ferran
[1] http://www.modpython.org/FAQ/faqw.py?req=show&file=faq03.026.htp
|