/** * Closes the session and forces a reinitilization next time it is called. */ public static function close() { session_write_close(); self::$initialized = false; }