while clicking on link for 1st time it redirect to an ad but after clicking again the download starts | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

while clicking on link for 1st time it redirect to an ad but after clicking again the download starts

Sometimes when i click on download button on a website it redirects me to another website but while clicking again on the link it starts downloading. Is something storing my activity in website code or these are cookies. i don't understand cookies as well properly but i read somewhere that session cookies store our data so i coined this term.

24th Jun 2020, 5:57 PM
Bhavuk Sharma
Bhavuk Sharma - avatar
6 Answers
+ 5
```¥$€``` it probably uses a click counter on that button on the current session. meaning that if you close the page (entire browser window), and try again it will prompt you to that page ad again. if you click it more than once after it works, it will keep starting a download
26th Jun 2020, 7:07 PM
Sebastian Pacurar
Sebastian Pacurar - avatar
+ 5
that's how some free websites earn money. based on how many clicks the ads get. the ad owners pay those who have their ads on their site with x% for each click. that's why you also get ads from free apps on play store. if you pay for the premium version of that app you won't get to see ads anymore. but since it's free version the creators need to earn money somehow, so they use this strategy
26th Jun 2020, 12:28 PM
Sebastian Pacurar
Sebastian Pacurar - avatar
+ 1
So, what's the question is?
24th Jun 2020, 11:17 PM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
+ 1
🇮🇳Vivek🇮🇳 why does this happen if their is something which is recording my activity?
25th Jun 2020, 5:30 AM
Bhavuk Sharma
Bhavuk Sharma - avatar
+ 1
Sebastian Pacurar but after clicking on the same link 2nd time opens up the right page how does it knows that this is my 2nd click
26th Jun 2020, 6:08 PM
Bhavuk Sharma
Bhavuk Sharma - avatar
+ 1
Sebastian Pacurar this usually happens in torrent website
26th Jun 2020, 6:14 PM
Bhavuk Sharma
Bhavuk Sharma - avatar