on 10-06-2007 11:57 AM
Hi all
I want to make an application in web deynpro . Requirement is like , I want to capture IP of machine from which user logs into portal fro security reasons.
I have tried following java code to fetch IP of machine . Its working fine in development and Quality but not in production. In dev and QA its giving IP of machine but due to revese proxy settings in the production sever its fetching IP of portal instead of IP of machine.
import com.sap.tc.webdynpro.services.sal.adapter.api.WDProtocolAdapter;
String ipAddress = WDProtocolAdapter
.getProtocolAdapter()
.getRequestObject()
.getClientHostAddress();
any suggestions are appriciated
Regards
Abhay
Hi,
I know its too much of time......
Can you please tell me if you were able to fetch the actual ip of the client machine.I have a similar scenario and I need to get the client's Ip to determine whether the user has logged in from internet or intranet....
Please help.......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.