My PHP sessions are expiring in a short time (5min), even using session_cache_expire (120), and would require at least 2 hours.
I'm using code similar to this:
session_cache_expire(120);
session_start();
if(!isset($_SESSION['id'])){
header("Location: ../../index.html");
}else{
$id = $_SESSION['id'];
}
In phpinfo () I have the following information: