Lasso Soft Inc. > Home

[Define_AtBegin]

[Define_AtBegin] defines a tag, type, or compound expression that should be invoked prior to processing each page in the current site. At-begin procedures should be installed in LassoStartup. The at-begin procedures will be called in order prior to processing any code in the current page. They can be used to modify variables, define tags, or otherwise alter the environment in which the page will be run, but cannot be used to modify the LassoScript source code that will be run.

The URL rewrite feature of Lasso provides a front-end for installing pre-process actions in a site. Visit the Setup > URL Rewrite section in Lasso Site Administration and see the section on URL rewrite in the Lasso Setup Guide for more information.

Note - If tags are defined in a pre-process action the code should be surrounded by [Namespacing_Using: '_page_'] ... [/Namespace_Using] tags in order to ensure that the tags are defined within the page's local namespace rather than globally.

  • Syntax
  • Parameters
[Define_AtBegin: TagName]

[Define_AtBegin: { ... Compound Expression ... }]
Required Parameters
Tag The tag reference, data type, or compound expression to be executed.
Examples

See the Lasso 8 Language Guide for examples of how to use this tag.

Tag Link [Define_AtBegin] Category Technical
Type Substitution Data Source Any
Support Preferred Version 8.0
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft