HTTP cookies are known as a web cookie, Internet cookies, browser cookies. in the cookie, we can store a small piece of data that server send to your browser.
In cookies, we have many options like Expires, Domain, Path, Secure, Name they are used when we create a cookie or read a cookie.
1.Expire: we can use it to set the date the cookie will expire.
2.Secure: a browser only use HTTP.
3.Domain: The domain name of your site.
4.Path: The path to the directory or web page that set the cookie.
If you find this useful in a post like and save this post also comments about your thoughts. For more content follow me on Instagram @developer_nikhil27.