BBjThinClient::getClientIPAddress
Description
This method returns the IP address of the client.
Syntax
| Return Value | Method |
|---|---|
|
String |
getClientIPAddress() |
Parameters
None.
Return Value
Returns the IP address of the client.
Remarks
See Interacting with client files in BUI and DWC for a detailed discussion of the BUI BBjThinClient.
In a load-balanced environment, the address that BBjServices sees is the address of the load balancer or reverse proxy. To report the original client address instead, set the com.basis.bbj.web.server.useRealIP or com.basis.bbj.web.server.useForwardedFor property to true in BBj.properties. See The BBj.properties File.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.