LassoScript Utility
Basics Browse Detail

[Server_Name]

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

Description

[Server_Name] returns the domain name of the current server.

If the name of the current server cannot be determined then the IP address of the current server is returned instead.

Syntax

[Server_Name]

Parameters

No Parameters Required.

Examples

To display the name of the current Web server:

Use the [Server_Name] tag.

The current Web server is [Server_Name].

The current Web server is www.example.com.