Server:Request.id

Version: - string  

Summary

Returns ID request of the server. 

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Server:Request.id")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Server:Request.id"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Server:Request.id"); }

Outputting the template tag

<!--@Server:Request.id-->

Check if string has a value

<!--@If Defined(@Server:Request.id)--> Let's output this tag here: <strong><!--@Server:Request.id--></strong> <!--@EndIf(@Server:Request.id)-->