jeudi 22 juin 2017

EncryptCookie and Session in laravel 5.2

I am using laravel 5.2 and I have problems with working with larvel sessions.

I am trying to get session id using Session::getId() in laravel but every time I refresh the page I get a diffrent value. I commented the EncryptCookies::class middleware it worked fine.

In config\session.php I change the domain to my site domain ddev.dev and the path is set to '\'.



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

Aucun commentaire:

Enregistrer un commentaire