$web

Return an indication of whether the current application was started by the Web Request Dispatcher (WRD) or Uniface Anywhere.

$web

Example: if ($web="") ...

Return Values

Values returned by $web
Value Meaning
JTI The application was activated by Uniface Anywhere
URD The application was activated by the WRD
ERR Error determining the context
"" The application was not activated by the WRD

Use

Use in Dynamic and Static Server Page components.

Description

The $web function returns a string that indicates whether the current application was started by the WRD or by Uniface Anywhere. This allows you to provide conditional processing depending on whether a component is running in a web browser, Uniface Anywhere, or a normal application.

Related Topics