Is there a way to get the IP Address from the HTTP header in a web screen written with Net Express? We'd like to capture the IP Address of people using our system for logging purposes.
Thanks!
Is there a way to get the IP Address from the HTTP header in a web screen written with Net Express? We'd like to capture the IP Address of people using our system for logging purposes.
Thanks!
Is there a way to get the IP Address from the HTTP header in a web screen written with Net Express? We'd like to capture the IP Address of people using our system for logging purposes.
Thanks!
I should clarify ... I want to get the CLIENT IP address.
Is there a way to get the IP Address from the HTTP header in a web screen written with Net Express? We'd like to capture the IP Address of people using our system for logging purposes.
Thanks!
You should be able to get this type of information by reading the HTTP environment variables into your program using accept/display syntax.
example:
01 ip-address pic x(256) value spaces.
display "REMOTE_ADDR" upon environment-name
accept ip-address from environment-value
Is there a way to get the IP Address from the HTTP header in a web screen written with Net Express? We'd like to capture the IP Address of people using our system for logging purposes.
Thanks!
Chris - that did the trick. Thanks for the help.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.