You can either put this tag at the top of the page:
lp_header_xPoweredBy; // creates the header "X-Powered-By: Lasso Professional 8.5.1b5"
Or you can create a LassoStartup script that adds it to all pages:
define_atbegin: { lp_header_xPoweredBy; };
Source Code
Click the "Download" button below to retrieve a copy of this tag,
including the complete documentation and sample usage shown
on this page. Place the downloaded ".inc" file in your
LassoStartup folder, restart Lasso, and you can begin using this
tag immediately.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[
define_tag:'lp_header_xPoweredBy',
-description='Via header, sets the X-Powered-By header.',
-priority='replace',
-optional='value'; // override default with this value
if: !(local_defined:'value');
// example default: Lasso Professional 8.5.1
local:'value' = 'Lasso Professional ' (Lasso_Version: -LassoVersion);
/if;
content_header += 'X-Powered-By: ' (string:#value) '\r\n';
/define_tag;
]