PHP中的会话和Cookie之间有什么区别?

问题描述:

PHP中会话 Cookie 之间的区别是什么?

What is the distinction between Sessions and Cookies in PHP?

一个会话是存储在服务器上的数据的集合, (通常是通过包含ID代码的Cookie)

A session is a collection of data stored on the server and associated with a given user (usually via a cookie containing an id code)