示例#1
0
 /**
  * Logout, destroy the session and back to the login page
  */
 public function logout()
 {
     common_session_SessionManager::endSession();
     $this->redirect(_url('entry', 'Main', 'tao'));
 }
 public function logout()
 {
     common_session_SessionManager::endSession();
     $this->redirect(ROOT_URL);
 }
示例#3
0
 /**
  * This function is used to reset the session values.
  *
  * @access public
  * @author Joel Bout, <*****@*****.**>
  * @return void
  */
 public function reset()
 {
     common_Logger::d('resetting session');
     common_session_SessionManager::endSession();
     $this->update();
 }
示例#4
0
 /**
  * Logout the current user. The session will be entirely reset.
  *
  * @access public
  * @author Jerome Bogaerts, <*****@*****.**>
  * @return boolean
  */
 public function logout()
 {
     return \common_session_SessionManager::endSession();
 }
 /**
  * 
  * @author Lionel Lecaque, lionel@taotesting.com
  */
 public function lock()
 {
     $this->shieldService->shieldExtensions();
     common_session_SessionManager::endSession();
 }