Also note that you must start your session using session_start() before use of $_SESSION becomes available.
session.cookie_lifetime session.cookie_lifetime spécifie la durée de vie du cookie en secondes.