public static function Lock_Request_Processing()
 {
     //--
     self::$RequestProcessed = true;
     // this will lock the Request processing
     //--
     SmartFrameworkRegistry::lockRequestVar();
     // this will lock the request registry
     //--
 }