Removed useless blocks
Added the session_config.lifetime configuration variable