Global:Request.IsSecureConnection

Version: - globalvalue  

Summary

Returns the original URI string that was passed to the Uri constructor like this: http://http://doc.dynamicweb-cms.com/Default.aspx?ID=204

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetGlobalValue("Global:Request.IsSecureConnection")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetGlobalValue("Global:Request.IsSecureConnection"); }

Outputting the template tag

<!--@Global:Request.IsSecureConnection-->

Check if globalvalue has a value

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