Why not set the expire time in config/session.php?
'lifetime' => 60
because I have other sessions and I want set just for this one...
look at :
if (isset($_SESSION['LAST_ACTIVITY']) && (time() - $_SESSION['LAST_ACTIVITY'] > 1800))
how can I minus 2 dates or times?
laravel gives me error about that, can you tell me the code equal in laravel?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community