Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     ServletRequest elements available?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
ServletRequest elements available?
 Login/Join
 
Gold member
posted
Hi All,

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?
-James
 
Posts: 83 | Location: Dartmouth Hitchcock Medical Center | Registered: April 17, 2003Report This Post
<WFUser>
posted
Place the following code in your /client5x/etc/site.wfs file.

<SET>REMOTE_ADDR(pass)
<SET>SERVER_NAME(pass)
<SET>SERVER_PORT(pass)

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.
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     ServletRequest elements available?

Copyright © 1996-2020 Information Builders