Esempio n. 1
0
 protected function traditionalPostHandling()
 {
     if (!isset($_SESSION['PostHandler'])) {
         // do nothing
     } else {
         if (!is_a($this->try_unserialize($_SESSION['PostHandler']), 'PPostHandler')) {
             // the $_SESSION['PostHandler'] got damaged.
             // a reset can repair it.
             unset($_SESSION['PostHandler']);
         }
     }
     // traditional posthandler
     PPostHandler::get();
 }