Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel session

'for make session: syntax: session(key => value), ex. session('user1'=>'kinjal')
session can remove using forget() perticular user; syntax: session().forget(key);
To delete all users from session: syntax: session()->flush();  
To fetch all session data: syntax: session()->all();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #session
ADD COMMENT
Topic
Name
4+7 =