Corona Virus (Covid-19) Latest Updates

What is a Cookie?
A cookie is a small piece of information sent by a web server to store on a web browser so that it can later be read by the browser. This way, the browser remembers some specific personal information. If a Hacker gets hold of the cookie information, it can lead to security issues.

Properties of Cookies
Here are some important properties of cookies :-

1. They are usually small text files, given ID tags that are stored on your computer's browser directory.
2. They are used by web developers to help users navigate their websites efficiently and perform certain functions.
3. When the user browses the same website again, the data stored in the cookie is sent back to the web server to notify the website of the user’s previous activities.
4. Cookies are unavoidable for websites that have huge databases, need logins, have customizable themes.
Cookie Contents
The cookie contains the following information :-
1. The name of the server the cookie was sent from.
2. The lifetime of the cookie.
3. A value - usually a randomly generated unique number.

Types of Cookies
1. Session Cookies − These cookies are temporary which are erased when the user closes the browser. Even if the user logs in again, a new cookie for that session is created.

2. Persistent cookies − These cookies remain on the hard disk drive unless user wipes them off or they expire. The Cookie's expiry is dependent on how long they can last.

No comments