_lifetime); // Set the session cookie name session_name($this->_name); // Start the session session_start(); // Reference the $this->_data =& $_SESSION; return NULL; } /** * Generate a new session id and return it. * * @return string */ protected function _regenerate() { // Regenerate the session id session_regenerate_id(); return session_id(); } /** * Writes and closes the current session. This can only be called once * * @return boolean */ protected function _write() { // Write and close the session session_write_close(); return TRUE; } } // End Session_Native