1 00:00:00,450 --> 00:00:06,850 So let's talk about these cookies and cookies are the unique values that are used to identify the user. 2 00:00:07,950 --> 00:00:10,120 These cookies are stored at the current site. 3 00:00:10,710 --> 00:00:16,860 So how the server identifies the cookies is whenever the client send the request, these keys are also 4 00:00:16,860 --> 00:00:17,790 sent to the server. 5 00:00:20,010 --> 00:00:27,120 So first, there will be no cookies when you send the request, from then on, the cookies are set and 6 00:00:27,120 --> 00:00:31,560 there are they will be sent to the server each on each request. 7 00:00:32,220 --> 00:00:36,950 And cookies contain some important information like stationery, timestamp, etc.. 8 00:00:37,380 --> 00:00:44,940 So this session is used to identify the patronization and server can keep track of user activities using 9 00:00:44,940 --> 00:00:45,520 the cookies. 10 00:00:45,990 --> 00:00:49,530 So let's take an example and see what these cookies are. 11 00:00:49,560 --> 00:00:53,190 Suppose we log on to this Amazon.com. 12 00:00:53,190 --> 00:01:00,310 So whenever you log on, a session is standard and cookies are sent to you by the server. 13 00:01:00,450 --> 00:01:07,400 So these cookies are stored in a file and these cookies are sent on each request from then onwards. 14 00:01:07,740 --> 00:01:17,760 Suppose we have, uh, search about these laptops or gaming consoles are most keywords, etc. So we 15 00:01:17,760 --> 00:01:20,820 will search for the items in Amazon then. 16 00:01:22,980 --> 00:01:28,580 The data will be stored on a server and these cookies are used to track the user. 17 00:01:28,620 --> 00:01:36,360 Suppose I have the cookie one, two, three, four, so that if I search for 10 items and then the server 18 00:01:36,360 --> 00:01:42,080 identifies that this guy has been searching for keyboards and computer parts, something like that. 19 00:01:42,540 --> 00:01:48,870 So it identifies and you and will suggest some more similar items based on these cookies. 20 00:01:50,880 --> 00:01:52,110 So types of cookies. 21 00:01:52,140 --> 00:01:54,340 Now we learn about the types of cookies. 22 00:01:54,630 --> 00:01:56,460 First one is first party cookies. 23 00:01:56,820 --> 00:01:59,650 These cookies are the server itself. 24 00:02:00,000 --> 00:02:02,340 So this when you're contacting Amazon.com. 25 00:02:02,350 --> 00:02:07,530 So these cookies are set by Amazon and third party cookies here. 26 00:02:07,620 --> 00:02:09,750 These cookies are separate, different websites. 27 00:02:10,320 --> 00:02:13,910 That means, let's see, an example a site contains at. 28 00:02:13,920 --> 00:02:18,240 So if you visit a website, we thought at Brockert, then you look at the advertisements. 29 00:02:18,600 --> 00:02:25,920 So these advertisements can also set cookies on your browser, each other to keep tabs, tracking your 30 00:02:25,920 --> 00:02:26,460 searches. 31 00:02:27,360 --> 00:02:34,980 So there is a real world case in this one to alert Amazon from 16, not zero for Washington to keep 32 00:02:34,980 --> 00:02:36,870 track users of users. 33 00:02:36,870 --> 00:02:45,660 It just so from 16 of this Amazon app is preinstalled on the open operating system. 34 00:02:47,820 --> 00:02:57,840 So whenever a user searches in browser and there's been a similar situation from suppose if I even search 35 00:02:57,850 --> 00:03:04,170 in the Google about the computer, but then the next thing is the ads will display the computer parts 36 00:03:04,890 --> 00:03:05,690 on my brother. 37 00:03:08,400 --> 00:03:15,300 So that's from around the country on what's the how remote this is, so that's why there is so much 38 00:03:15,300 --> 00:03:22,660 of hate going on, the last one because of this Amazon tracking of the users. 39 00:03:23,130 --> 00:03:28,680 So now let's take a look at this, Don, because these are permanent copies set by the third party server. 40 00:03:28,680 --> 00:03:29,870 And these are tough, Kuramochi. 41 00:03:30,060 --> 00:03:33,600 So these are not normally, uh, we cannot promote this. 42 00:03:34,710 --> 00:03:41,550 And these are so-called flash cookies because they get stored in this adult fresh out of storage. 43 00:03:43,730 --> 00:03:51,360 So these are the basic types of cookies and coming to these sessions sessions are unique to the DRC. 44 00:03:51,530 --> 00:03:57,050 So these are also type of cookies, but it contains sort of the session. 45 00:03:57,800 --> 00:03:59,810 So these are said to the grand tour. 46 00:03:59,820 --> 00:04:05,630 And from then onwards, whenever there is a login from the user, then the session new session, it 47 00:04:05,630 --> 00:04:07,340 is generated and being set. 48 00:04:09,030 --> 00:04:14,340 So when of the new session, or at least a little and then the corresponding session are different. 49 00:04:14,970 --> 00:04:18,370 So these are these are the basics of what the coaches and sessions. 50 00:04:18,610 --> 00:04:22,340 Now, let's recap everything by mixing Scooby's transitions. 51 00:04:22,710 --> 00:04:29,490 Suppose I am going to the website Amazon.com and I logged in whenever I logged in a new session. 52 00:04:29,520 --> 00:04:33,420 It is generated on the server side and it is stored in this session file. 53 00:04:35,030 --> 00:04:41,150 And the corresponding keys like Exceptionality and timestamped when I brought them has been sent to 54 00:04:41,840 --> 00:04:48,800 my brother, so whenever I search from then onwards after logging in, the keys are also sent to the 55 00:04:48,800 --> 00:04:49,350 server. 56 00:04:49,850 --> 00:04:55,310 So turning to face your search terms and session, I suppose if I say I have a S.A.T., one, two, 57 00:04:55,310 --> 00:04:57,650 three, four are now searching for, uh. 58 00:04:59,250 --> 00:05:02,720 Most likely what then it will lock into some separate foot. 59 00:05:03,210 --> 00:05:10,980 So from then on, what it will start suggesting, suggesting other computer parts related to the similar 60 00:05:10,980 --> 00:05:11,490 items. 61 00:05:14,000 --> 00:05:21,800 So up to not done up to my session, I will be at two and there will be only one session per user, 62 00:05:22,520 --> 00:05:26,580 so whenever I logged out, then the corresponding session ID is destroyed. 63 00:05:26,840 --> 00:05:33,410 So even though when you try to request a deposition, it will not it will not be valid because the session 64 00:05:33,620 --> 00:05:34,330 is destroyed. 65 00:05:35,800 --> 00:05:38,680 So these are the basics of the cookies incision's.