[opencms-dev] Real Client IP address in Open CMS

Andras Balogh java at reea.net
Mon Aug 18 10:21:00 CEST 2003


Hello Peter,

You probably looking for something  like:

HttpServletRequest req = (HttpServletRequest)cmsobject.getRequestContext().getRequest().getOriginalRequest();
String ip=req.getRemoteAddr();

Best wishes,

Andras.


  ----- Original Message ----- 
  From: Peter Hagl 
  To: opencms-dev at opencms.org 
  Sent: Monday, August 18, 2003 10:32 AM
  Subject: [opencms-dev] Real Client IP address in Open CMS


  Dear Users,

  I have read the email "real client ip adress" in OpenCms but I have not
  understood how I can use the Request Object and how I can read out the
  REMOTE_ADDR. Can anyone send me an example  about that. I' m a newcomer of OpenCMS. I
  don' t know anything about the Request Object and the REMOTE_ADDR.

  Any help is appreciated. Thank you very much for your support

  Best regards

  Peter

  -- 
  COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
  --------------------------------------------------
  1. GMX TopMail - Platz 1 und Testsieger!
  2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
  3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post

  _______________________________________________
  This mail is send to you from the opencms-dev mailing list
  To change your list options, or to unsubscribe from the list, please visit
  http://mail.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030818/2d64d9ec/attachment.htm>


More information about the opencms-dev mailing list