When you run your application in a WebClient environment, the Application Server has very little information about the user at the other end of the browser. As far as it knows, the WebClient server is the client.
However, you can have the WebClient send information about the end user and the end user's computer by passing some pre-defined arguments to your program after the program name in the "Program name and arguments" field.
The three variables that return information about the client are;
Your program will chain these values and catch them in the linkage section like this:
PROCEDURE DIVISION chaining clientId clientIp clientLocale .The client information passed in "clientID" is a string of four values, delimited by "_"; The webapp name, the user name, a browser ID, and the time in milliseconds.
unstring clientId delimited by "_" into app user browserId currentTimeMillis.You can use the attached program as a reference to get the information you need from the WebClient's user. Here's a sample output for the program:
There are many other variables you can pass to your program, including every operating system variable (ex: ${path}), two WebClient-specific variables, and your own custom variables.
These arguments are listed in the WebClient documentation.
Article ID: 343
Created: April 5, 2024
Last Updated: April 5, 2024
Author: Support KB Author
Online URL: https://support.veryant.com/phpkb/article.php?id=343