Answer the question
In order to leave comments, you need to log in
How to properly set HttpOnly cookies for sessions in symfony4?
Hello, in symfony4 framework.yaml there is this setting:
session:
handler_id: ~
cookie_secure: auto
cookie_samesite: lax
cookie_httponly: true # <--- вот эта
$session = new Session();
$session->start();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question