LassoScript Utility
Basics Browse Detail

[Header] ... [/Header]

Tag Link [Header] ... Category Output
Type Container Source Available No
Support Preferred Version 3.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x


[Header] ... [/Header] sets the HTTP header of the response to the contents of the container tags.

The text inside the [Header] ... [/Header] tags needs to follow the rules for HTTP headers as defined by the World Wide Web Consortium <>.

The [Header] ... [/Header] tags should be used above any other Lasso tags that modify the HTTP header. These include [Redirect_URL], [Server_Push], [Cookie_Set] and [Content_Type]. Any changes made by these tags will be erased by a subsequent set of [Header] ... [/Header] tags.

There should only be one set of [Header] ... [/Header] tags in any format file.


HTTP/1.0 307 Moved Temporarily



No Parameters Required.


To prompt the site visitor with an authentication dialog:

Use the [Header] ... [/Header] tags with an appropriate HTTP header to ask the Web browser to prompt the visitor for a username and password. The realm name "Example" will be shown to the visitor in the authentication dialog.

HTTP/1.0 401
WWW-Authenticate: Basic realm="Example"
Server: Lasso Professional 8