Why behind the time the cookies in Laravel?

Work with Laravel sessions and realized that I have 4 hours behind the time in the cookie
5e4a6925abcd3763667026.png

Ie indicated 12:19
But in fact time is 14:19

The lifetime of the session 2 hours.
ie cook the idea seem that right now is 10 hours

The timezone in the settings of laravel
'timezone' => 'Europe/Samara'

On your computer is also correct
in php.ini correctly.
Everything seems to have checked, but the cookie is still lagging behind.

What could be the reason?
April 7th 20 at 15:27
2 answers
April 7th 20 at 15:29
It's possible that Laravel itself stores in the Samara time and the database is in UTC. Check out this case
April 7th 20 at 15:31
Because the life time of the cook is always in UTC (GMT).

Find more questions by tags HTTP Cookies