LassoScript Utility
Basics Browse Detail

[Response_Path]

Tag Link [Response_Path] Category Results
Type Substitution Source Available Yes
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type String Security None
Implementation LDML Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0

Description

[Response_Path] returns the folder from which the current file is being served relative to the Web server root.

Syntax

[Response_Path]

Parameters

Optional Parameters
Encoding Keyword Specifies the encoding for the tag's return value. Tags are encoded using -EncodeHTML by default if their value is output on a format file. No encoding is applied to nested tags unless an explicity encoding keyword is specified. One of -EncodeBreak, -EncodeHTML, -EncodeNone, -EncodeRaw, -EncodeSmart, -EncodeStrictURL, -EncodeURL, -EncodeXML.

Examples

To display the path to the folder which contains the current format file:

Use the [Response_Path] tag. The following example shows the result of calling [Response_Path] on the format file loaded by the URL http://www.example.com/default.lasso.

[Response_Path]

/