Kbase P33570: How to programmatically retrieve the current Application's URL using WebSpeed?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/15/2008 |
|
Status: Verified
GOAL:
How to programmatically retrieve the current Application's URL using WebSpeed?
GOAL:
What is the URL for the WebSpeed program that is currently running?
GOAL:
What is AppURL?
GOAL:
What is HostURL?
GOAL:
What is SelfURL?
FACT(s) (Environment):
WebSpeed 3.x
FIX:
There are a few WebSpeed Agent Variables that can be queried to return information about the current Application's URL. They are: AppURL, HostURL and SelfURL.
For instance, below are the values WebSpeed returns when querying these variables by running the following program from the Scripting Lab Tool:
{&OUT} "AppURL: " AppURL "<BR> HostURL: " HostURL "<BR> SelfURL: " SelfURL.
AppURL: /scripts/wsisa.dll/WService=wsbroker1
HostURL: http://localhost
SelfURL: /scripts/wsisa.dll/WService=wsbroker1/webtools/edtscrpt.w