PHP·98 questions

How to securely work with sessions?

Answer
session.cookie_httponly =

1.

session.cookie_secure = 1 (HTTPS).
session.cookie_samesite = 'Strict'.
session_regenerate_id() on login.
Session timeout.
Was this answer helpful?

More questions in this topic

Related questions from other topics