Global:OMC.Visitor.IsReturning

Version: - boolean  

Summary

Returns True if the visitor has visited the solution before.

Settings

The value is generated automatically.

Remarks

It returns an empty value if false.

Examples

Outputting the template tag

@GetBoolean("Global:OMC.Visitor.IsReturning")

Check if tag has a value

@if(!bool.IsNullOrWhiteSpace(GetBoolean("Global:OMC.Visitor.IsReturning"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("Global:OMC.Visitor.IsReturning"); }

Outputting the template tag

<!--@Global:OMC.Visitor.IsReturning-->

Check if boolean has a value

<!--@If Defined(@Global:OMC.Visitor.IsReturning)--> Let's output this tag here: <strong><!--@Global:OMC.Visitor.IsReturning--></strong> <!--@EndIf(@Global:OMC.Visitor.IsReturning)-->