Revision 1 as of 2005-01-11 11:16:25
Importing old wiki ...
converted to 1.6 markup
|No differences found!|
Q: How do I get the IP address of the client?
A: Use the following:
String remoteIP = msgContext.getStrProp(Constants.MC_REMOTE_ADDR);
Note: your client IP address can be misleading sometimes because of proxy servers.