Access session from view

by Pheara   Last Updated July 13, 2019 01:26 AM

I built login from scratch using adonisjs but I don't know how to check session from view. I need to check when a user is logged-in and the session can be shared everywhere.

I am trying to use global in service provider but it's not possible.

Tags : adonis.js

Related Questions

EBADCSRFTOKEN: Invalid CSRF token in adonis js

Updated November 02, 2018 21:26 PM

Render adonis view in React

Updated October 19, 2017 23:26 PM

adonisjs github collaboration not possible?

Updated November 05, 2018 00:26 AM