Отправляет ли php файл cookie на локальный хост по HTTP, когда session_start() с cookie_secure равен true? ⇐ Php
-
Anonymous
Отправляет ли php файл cookie на локальный хост по HTTP, когда session_start() с cookie_secure равен true?
If I start a session like below for a server and a localhost client try to request the server via HTTP, does it response with the session cookie?
or must it go through HTTPS?
I read the doc and it did say only through HTTPS, but I wonder if localhost is an exception.
session_start([ 'cookie_secure' => true ]);
Источник: https://stackoverflow.com/questions/707 ... h-cookie-s
If I start a session like below for a server and a localhost client try to request the server via HTTP, does it response with the session cookie?
or must it go through HTTPS?
I read the doc and it did say only through HTTPS, but I wonder if localhost is an exception.
session_start([ 'cookie_secure' => true ]);
Источник: https://stackoverflow.com/questions/707 ... h-cookie-s
Мобильная версия