Server object is accessible for the scripts
executed by the ScripgGen content generator - raw and ASP-like. It provides mostly utility
functions.Properties:
ScriptTimeout
- dummy implementation only for compatibility with ASP. Instead use configuration option Timeout
in the alp.application files
Methods:
CreateObject - Creates an instance
of a component
HTMLEncode - Encodes a string using
HTML encoding
URLEncode - Encodes a string using
URL encoding
MapPath - maps a virtual path
absolute or relative to a local path.
Execute - executes another page, script or fetches
external URL and embeds the received content in the output.
ExecuteEx - executes another page, script or fetches
external URL and returns the content as string or binary data to the
calling code. The code can do further processing, use the received
data etc.
Remarks:
Classic ASP features with dummy implementation in ALP:
ScriptTimeout - cannot be changed from within
a page. To change it you need to alter the ALP
Application settings.
Classic ASP features not supported in ALP:
GetLastError,
Transfer (ALP architecture does not
allow Transfer method),
URLPathEncode.
|