diff --git a/Framework/Session.php b/Framework/Session.php index 474dbca9..e79bcc97 100755 --- a/Framework/Session.php +++ b/Framework/Session.php @@ -4,7 +4,6 @@ class Session public function __construct() { // Ajout du 18/04/2026 pour sécuriser les sessions - ini_set('session.gc_maxlifetime', 3600); $redis = new Redis(); $redis->connect('127.0.0.1', 6379); ini_set('session.save_handler', 'redis'); diff --git a/Vue/Ajaxconnexioncookie/french.php b/Vue/Ajaxconnexioncookie/french.php index 8d2ebfb0..3170c9d2 100755 --- a/Vue/Ajaxconnexioncookie/french.php +++ b/Vue/Ajaxconnexioncookie/french.php @@ -5,7 +5,8 @@ $msgErreur = 'Site en maintenance, veuillez vous reconnecter plus tard!'; } - echo session_save_path(); + // echo session_save_path(); + echo ini_get('session.gc_maxlifetime'); ?>