I'm logging my admin like this:
session_start();
$_SESSION['admin'] = TRUE;
When I login and stay inactive for like 10 minutes, then refresh, the session is dead and the admin is logged out.
What do I need to set either in htaccess
or in the php file
itself so that the session stays alive for at least 8 hours?