Cookie validity period

By default, the cookie's survival time is the window survival time, that is, closing the browser will be outdated, and the cookie validity period can be artificially set. Beyond that, the cookie is invalidated.

Some websites set the lifetime of cookies to "0" or negative value, so that when the browser is closed, the Cookie will be cleared immediately, without recording user information, which is safer. 

However, some websites set the validity period of ten years, twenty years or even hundreds of years. In this way, cookies will always be in session with users and record user information, which makes cookies very vulnerable to technical attacks and theft in various ways.

I BUILT MY SITE FOR FREE USING