Submit.SessionId
Version: - stringSummary
Returns the session ID.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Submit.SessionId")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Submit.SessionId"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Submit.SessionId");
}
Outputting the template tag
<!--@Submit.SessionId-->
Check if string has a value
<!--@If Defined(@Submit.SessionId)-->
Let's output this tag here: <strong><!--@Submit.SessionId--></strong>
<!--@EndIf(@Submit.SessionId)-->