📅  最后修改于: 2022-03-11 14:54:17.097000             🧑  作者: Mango
// Current Session Timeout Value
$currentTimeout= ini_get('session.gc_maxlifetime');
// Change session timeout value for a particular page load - 1 month = ~2678400 seconds
ini_set('session.gc_maxlifetime', 2678400);