* complete task #209:identify function of module user support encrypted authentication.

This commit is contained in:
fujia
2010-06-30 10:03:32 +00:00
parent 84be9473f3
commit 233d42fb17
3 changed files with 9 additions and 1 deletions
+2
View File
@@ -26,8 +26,10 @@ class api extends control
/* 获得sessionid。*/
public function getSessionID()
{
$this->session->set('rand', mt_rand(0, 10000));
$this->view->sessionName = session_name();
$this->view->sessionID = session_id();
$this->view->rand = $this->session->rand;
$this->display();
}