Th3apprenTis
6 months ago
682
3
General

Getting laravel sessions

Posted 6 months ago by Th3apprenTis

I use sessions to allow a user to view a video on a page.I would need to add laravel headers to videojs request headers.

I use {{ request()->cookie('laravel_session') }} in the view but i get a cookie value significantly shorter than the one i get when i view the cookie_session in the browser.

Is this the correct approach ?

Please sign in or create an account to participate in this conversation.