In this tutorial im going to learn how to increase timeout in laravel, in this tutorial I ‘have to explain laravel session lifetime in very easy way.
Set Session Lifetime in Config/Session.php
Go to .env file and put below code
SESSION_LIFETIME = 525600
<?php
use Illuminate\Support\Str;
return [
'driver' => env('SESSION_DRIVER', 'file'),
/*
'lifetime' => env('SESSION_LIFETIME', 120),
'expire_on_close' => false,
];
And second one is if you want to increase limit for 1 year you can use below code
60 * 24 * 365 = 525600
I hope its helpful for you.