
Hi Dev,
Today, i we will show you laravel 8 increase session timeout. This article will give you simple example of laravel 8 increase session timeout. you will laravel 8 increase session timeout. In this article, we will implement a laravel 8 increase session timeout.
So let’s follow few step to create example of laravel 8 increase session timeout.
Example 1 : .env File
.env
1 | SESSION_LIFETIME=525600 |
Example 2: Using Config File
config/session.php
1 2 3 4 5 6 7 8 9 10 11 12 13 | <?php use Illuminate\Support\Str; return [ ..... 'lifetime' => 1 * (60 * 24 * 365), ..... ] |
I hope it will assist you…