The language automatically supports HTTP Cookies in accordance with Netscape standards. This allows you to set and read small segments of data on the client side. Working with Cookies is organized through sessions (sessions). Sessions have an expiration date (after it expires, the data is deleted), in sessions you can store and edit different types of data, including serialized ones - passed through serialize (the process happens automatically), PHP objects.