Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel set session timeout

Goto config/session.php and change the lifetime value to anything you like


'lifetime' => 120,
'expire_on_close' => true,
'expired-session-redirect' => url(env('APP_URL'))
Source by laraveltuts.com #
 
PREVIOUS NEXT
Tagged: #laravel #set #session #timeout
ADD COMMENT
Topic
Name
7+9 =