Via header, sets content type to serve XHTML using content-negotiation. It will force Lasso to send the page in the character set specified in Lasso Admin (default) or use the -encoding param.
Note: this will specify "application/xhtml+xml" as the content type for any browser that advertises it understands it. Your XHTML page must be well-formed or the browser will complain instead of showing your webpage.
Parameters
-encoding
string, optional
Character set for the page. Default is to use the Lasso default character set.
Sample Usage
lp_header_serveXHTML;
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.