Cookies and their features

inf0rthemix

Junior Member
Joined
Jun 23, 2019
Messages
141
Reaction score
89
Hi guys,

Recently I've started my journey of creating an authority site and since I am self-learner, I came to the point(topic) cookies for my website.
As BHW is the place, which inspired me to start my internet adventures, I wanted to reach out to you for a few questions about them.
I found out that cookies are usually helping you to monitor the activity on your website as well as optimize your experience on it.

The questions, which are bothering me are:
When I have them on my site and the person agrees to use them etc. - How later I can use them to benefit from them?
Again, when a user already agreed for them - What happens next?
(Probably dumb question) What is exactly their detailed feature except that his an html file, which can give you the benefit above?

Excuses in advance if this topic is not for here.
 
as far as I know cookies are files that get deployed on users' computers to remember login / passwords / sessions and to collect data about user behavior. So, you can see how they are a very appealing thing to have for tracking freaks like google, for example, who love knowing what you do even in bathroom
 
cookies, local storage, and session storage collect data that Google and other websites use to show targeted ads.
For example,
Try to go to google.com, then press F12, click "application", click "Local Storage" then click "https://www.google.com" then double click the JSON colored number, you will see your search history there which Google uses to show targeted ads to you.

You can also go to cookies and sessions there to know what other info is stored.
 
The questions, which are bothering me are:
When I have them on my site and the person agrees to use them etc. - How later I can use them to benefit from them?
Again, when a user already agreed for them - What happens next?
(Probably dumb question) What is exactly their detailed feature except that his an html file, which can give you the benefit above?

Cookies are a way to store data. There are more ways like local storage and session storage. They exist for different reasons.

Cookies - backend readable data (well, technically you could send local/session storage data as an ajax call as well, but speaking in general... without any extra code)
Local storage - user stuffs
Session storage - User stuffs, for the current session only


They are just different type of storages, just like your RAM, SSD and HDDs. What you store on them and how you use them is your call.

How you can be benefited? I don't know your category :)
 
if a user allows cookies, you will probably earn more from Google Adsense as google will show ads related to your user.
 
each browser has its own different cookie mozilla has its own chrome, they receive your browser's commands and actions separately, and if you use the windows operating system, you can see your cookies by pressing the windows key + R and typing %temp% in this part
 
Back
Top