jeudi 26 octobre 2017

Laravel 5.5 and sessions for subdomains?

I use subdomain routing in my app, there are set dynamic routes and every subdomain has its own login page, in users table are restrictions for users&subdomains and the validation works without problems, every user can login in his subdomain but not in others, this is as needed.

I'm a little confused, is this by default set different session per subdomain? I want to make possible for a user with more accounts to stay logged in more subdomains at the same moment, of course with separate data...

Example: time.somedomain.com -> time@somedomain.com finance.somedomain.com -> finance@somedomain.com

Session configuration is in my app by default, nothing I changed nothing.

This are 2 different subdomains and 2 different accounts, I want to be sure that this are also 2 different sessions...



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2gHS1GR
via IFTTT

Aucun commentaire:

Enregistrer un commentaire