luceos You can use the SessionInterface: https://github.com/flarum/core/blob/master/src/Http/Middleware/AuthenticateWithSession.php#L36 Does that help? Can be easily called using: app(SessionInterface::class);
sanjays luceos originally i want save one user data which is not available on flarum , say main site user id main site allow to login to flarum with flaurm credentials with that on login i want to save main site user id in session / cookie how to achieve .. am not getting ?
luceos What is the data you're trying to save and what have you tried so far? Do you have a repository (github or otherwise) to look at? If you're unsure how to use app-calls, check the Laravel documentation on IoC bindings. (Not at pc to link this).