Everything about Cookie and Its Security

Security Lit Limited
InfoSec Write-ups
Published in
7 min readDec 20, 2022

--

Photo by Vishnu R Nair on Unsplash

What is a cookie and why is it used?

HTTP is a stateless protocol, which means that it can’t distinguish between 2 consecutive requests originating from the same computer or network or user. This was a major problem. Due to this, a user couldn’t maintain its session and if we were to continue with the same thing, the internet would be the same as it was a decade ago, comprising just a bunch of…

--

--