Ignore:
Timestamp:
2014/03/19 23:12:02 (10 years ago)
Author:
shutta
Message:

#2513 (Session Fixation対策)
ログイン後には、セッションIDを新しいIDに更新するよう修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/SC_Session.php

    r23279 r23352  
    134134        GC_Utils_Ex::gfPrintLog('logout : user='.$this->login_id.' auth='.$this->authority.' sid='.$this->sid); 
    135135    } 
     136 
     137    /** 
     138     * セッションIDを新しいIDに書き換える 
     139     * 
     140     * @return bool 
     141     */ 
     142    public function regenerateSID() 
     143    { 
     144        return session_regenerate_id(true); 
     145    } 
    136146} 
Note: See TracChangeset for help on using the changeset viewer.