{ my $rec = $DB->get('ajaxplorer') || $DB->new_record('ajaxplorer', {type => 'webapp'}); my $url = $rec->prop('LogoutUrl'); if (not $url){ $url = 'https://auth.' . $DomainName; $rec->set_prop('LogoutUrl', $url); } }