<?php ini_set("display_errors", "On"); error_reporting(E_ALL | E_STRICT); var_dump(session_start()); // session.gc_maxlifetime =1440; $_SESSION['nimei']='qqqq'; $_SESSION['nimei']=''; var_dump($_SESSION['nimei']);