Returns ID of order in request to server.
The value is generated automatically.
Outputting the template tag
@GetString("Server:Request.orderid")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Server:Request.orderid"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Server:Request.orderid");
}
Outputting the template tag
<!--@Server:Request.orderid-->
Check if string has a value
<!--@If Defined(@Server:Request.orderid)-->