CakePHP 2.xã§ãã»ãã·ã§ã³ã¿ã¤ã ã¢ã¦ãã®æéãæå®ãããã¨ããã¨ãä¸è¨ã®ããã«æ¸ãã¨æãã¾ãã Config/core.php Configure::write('Session', array( 'defaults' => 'php', 'timeout' => 1440, //1daysãâåä½ã¯å )); ããããããã ãã§ã¯ãã¡ã ã£ããããã®ã§ãã å ·ä½çã«ã¯ã1æ¥çµããªãã¦ãã»ãã·ã§ã³ã¿ã¤ã ã¢ã¦ããã¦ãã¾ãã¾ãã ãã®çç±ã¯ãPHPã§ã®ã»ãã·ã§ã³ãã¡ã¤ã«ã®ã¬ãã¼ã¸ã³ã¬ã¯ã·ã§ã³ã«ããã¾ãã PHPã§ã¯ãã»ãã·ã§ã³ãéå§ããã¨ï¼session_start()ï¼ããµã¤ãã¯ã»ãã·ã§ã³ãã¡ã¤ã«ãä½æãã¾ãã CentOS6.2ã«yumã§PHPãå ¥ããå ´åã¯ã/var/lib/php/sessionãããã§ãã CakePHPã®core.phpã§ãSession.defaultsã
{{#tags}}- {{label}}
{{/tags}}