Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.
$PostBackKey = ForceIncomingString('PostBackKey', '');
$ExtensionKey = ForceIncomingString('ExtensionKey', '');
$RequestName = ForceIncomingString('RequestName', '');
if ($PostBackKey != $Context->Session->GetVariable('SessionPostBackKey', 'string')) {
...
if ($PostBackKey != '' && $PostBackKey != $Context->Session->GetVariable('SessionPostBackKey', 'string')) {
/**
* Return the key used for CSRF protection.
* @return String
*/
function GetCsrfValidationKey() {
$Key = $this->GetVariable('SessionPostBackKey', 'string');
if ($Key == '') {
$Key = DefineVerificationKey();
$this->SetVariable('SessionPostBackKey', $Key);
}
return $Key;
}
1 to 2 of 2