上次请求中获取完数据,数据自动被删除,检测数据是否存在

// 请求 #3
// $result 为 false,因为flash信息已被自动删除
$result = $session->hasFlash('postDeleted');