[client_ip] returns the IP address of the current client.
The [client_ip] method can be used in a conditional expression compared with a string that contains wildcards.
[If(Client_IP == '10.*.*.*')] ... [/If] will return True for any clients that are on machines in the 10.x.x.x subnet.
Returning the result of [client_ip] is equivalent to [web_request->remoteAddr]
client_ip
Use the [Client_IP] method.
Code
client_ip
Result
127.0.0.1
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments