CALL "WD2$CLIENT_INFO" USING opCode parameter GIVING returnCode |
opCode | PIC 9 | Function to be executed. Valid values, defined in iscobol.def, are: |
Returns the user agent http header | ||
Returns the browser name | ||
parameter | PIC X(n) | Parameter depends on the opcode. |
*> On working-storage copy "isgui.def" call "WD2$CLIENT_INFO" using wd2-get-browser-name browser-info call "WD2$CLIENT_INFO" using wd2-get-user-agent user-agent display message user-agent X"0D0A" browser-info. |