mercredi 20 février 2019

Sharing Laravel Auth::check() not working on subpages

I am sharing the laravel session across subdomains. It is working on the main page but not on any inner pages.

Example:

sub1.example.com = Logged into laravel

sub2.example.com = Shows logged in on the home page but not inner pages.

I have my session domain set correctly but it's not working. 'domain' => '.example.com'

I cleared cookies in browser.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire