LassoScript Utility
Basics Browse Detail

[Thread_GetCurrentID]

Tag Link [Thread_GetCurrentID] Category Threads
Type Substitution Source Available Yes
Support Preferred Version 8.5
Change New Data Source Any
Output Type Integer Security None
Implementation Internal Sets Lasso 8.5

Description

[Thread_GetCurrentID] returns the ID of the thread which represents the current Lasso page.

Each thread in Lasso represents either a browser initiated page load or an asynchronous tag or compound expression. The [Thread_List] will always include one ID which represents the current page load (also returned by [Thread_GetCurrentID]) and usually will also have IDs for the background processes in Lasso which manage the email queue, event scheduler, and session manager.

Syntax

[Thread_GetCurrentID]

Parameters

No Parameters Required.

Examples

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