Just wondering if one can access the following elements of an HTTP request from within WebFocus. All three items listed below are available in an HttpServletRequest, so they could theoretically be available to a focexec via the WFServlet.
SERVER_NAME - The host name of the server that received the request.
SERVER_PORT - The port number on which the request was received.
REMOTE_ADDR - The IP address of the client that sent the request.
If these are available, what are the amper variables called?
Place the following code in your /client5x/etc/site.wfs file.
Recycle or app server or reload the web app. The variables will then always be available to your fexes as &variables (&REMOTE_ADDR, &SERVER_NAME, &SERVER_PORT)
The synatx will be different if you're running an old release.
|Powered by Social Strata|