Introduction

Cookies are regular text files containing a small amount of data created by a website and saved by your web browser. Its purpose is to protect information about you through the sites you visit.

Examples of using cookies when you enter login data such as Twitter or Facebook, the browser displays a “remind me on this computer” notification if you click on it.

The website will create a cookies cookie for this site, and every time you visit the place, you may need to enter your password, or you may not need to sign in at all.

Cookies also used to store user preferences for a particular site. For example, the search engine may store search settings in a cookie. Or a news website may use a cookie to save the size of a custom text you select to view news articles.

Types of Cookies

Cookies session  – These are temporary and deleted when the browser closes. E-commerce sites often use these types of cookies to store items placed in your shopping cart, and they can also offer many other things.

Permanent cookies to store data for an extended period. Each permanent cookie remains created with an expiration date where once the expiration date stands. The cookie remains automatically deleted.

Permanent cookies allow websites to “remember you” for two weeks, one month, or any other period. Note: because cookies remain stored in a different location for each web browser. You’ll need to create new cookies if you switch browsers.

How are Cookies Generated?

Using JavaScript, in this case, the browser remains directed directly to complete a binary pair and store it in the cookie of the current page range. No traffic is created with the server. As the user only does the process on its web browser. Why we so worried about cookies?

It is because many ad providers such as Google and its companies work with pages or sites where they insert ads to include a small resource embedded in each so-called “beacon” so that they keep cookies always linked to the same range. This way, they track your path on every page you visit.

As a result, you can find out exactly which pages you’ve visited, what products matter to you, and then sell you more focused ads. Among other things. It can theoretically be of any size.

However, all browsers charge the maximum size they can operate and refuse to store anything else if they exceed the specified value. This size varies from browser to browser. Even between version and version. However, it must not exceed 4 kb. And 50 cookies per domain to be safe.

Session cookies not stored anywhere because they exist only for the duration of the open session with the web server. This way, if we close the browser. It is lost forever as it is not stored in any file. And the browser only keeps it in the cache when it is open.

How are Cookies Read?

Let’s see… For example, I picked up some website content for a cookie sent to DoubleClick (a Google online advertising agency that is probably the largest in the world) and sent it in each request to that range.

If we see this in more detail: we see that all cookies work on demand and this is nothing more than a text file that contains a set of critical pairs/values separated by semicolons. So, for example, we see a key called “id” worth (perhaps uniquely distinguishing us on the internet by advertising companies). You can send by the browser in all applications submitted to the pubads.g.doubleclick.net range, which is the range it uses.

Conclusion

Cookies can be beneficial if we use them wisely. Once the cookie expires, the browser deletes them and will not remain sent in the following requests. So you don’t have to worry. However, laws in many countries (especially in the EU). Limit the use of it to maintain privacy and require pages to warn that they remain used for tracking purposes.

Review Cookies – Introduction, Types, and More.

Your email address will not be published.