[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Invalidate a REST

Status
Not open for further replies.
P

Peter Judge

Guest
If you are using the WEB transport, then you can query the LocalHost, LocalAddress and/or LocalPort properties on a WebRequest object. You can simply create one define variable webRequest as IWebRequest no-undo . assign webRequest = new WebRequest(). The port that the instance is started on is in the $CATALINA_BASE/conf/catalina.properties file, and is kept in the psc.as.http.port property. You could alternatively pass the port as a value to the session startup procedure (via the sessionStartupProcParam). And you may want to log a bug (or Idea) asking for this information to be made available to the sessions.

Continue reading...
 
Status
Not open for further replies.
Top