How to read laravel_session cookies saved in cookie memory of browser in client side?



PHP Snippet 1:

/*
|--------------------------------------------------------------------------
| HTTP Access Only
|--------------------------------------------------------------------------
|
| Setting this value to true will prevent JavaScript from accessing the
| value of the cookie and the cookie will only be accessible through
| the HTTP protocol. You are free to modify this option if needed.
|
*/

'http_only' => true,

PHP Snippet 2:

protected $except = [
    //
];

PHP Snippet 3:

'http_only' => false