We can send multiple cookies to the visitor’s browser setcookie(). When determining the value using $_SESSION['value']when using, the session.use_only_cookiessession will be stored only in visitors' browsers. What is the difference between these two cases?
EDIT: Obviously, they are mostly different. I just meant the difference in their application. We can set a value on the client side, which can be restored at any time (before the deadline) with equal $ _COOKIE or $ _SESSION; for example, to identify a returning visitor.
source
share