Understanding Cookie !!!
A Cookie contain the Name of the Domain from which Cookie Originated, Lifetime of the cookie, and a value, usually a Randomly Generated Unique Number. Mainly two types of cookies are used ::
a)Session Cookies-->Cookies which are Temporary ,that remain in your Browser until you Leave the site.The next time when you visit that particular site it will not recognize you and will treat you as a completely New Visitor as there is nothing in your browser to let the site know that you have visited before.
Why are Session Cookies Used ?
Without Cookies, Websites and their belonged Servers have no Memory. It is understood that any Website is not going to Store Information about Millions of users on their Servers. Not only it will be very Expensive,but in Addition it will also Slow Down their Website Performance.Without a Cookie every time you Open a Web Page the Server where the Specific Page is stored will treat you like a Completely New Visitor.Websites typically use Session Cookies to Ensure that you are recognized when you move from Page to Page within one Website and Information you have entered on the Website is Remembered. For Example, if an Shopping site didn't use Session Cookies then items placed in your Cart would Disappear by the time you Reach the Checkout Option.
Why are Persistent Cookies used ?
A Persistent Cookie enables a Website to Remember you on a Specific Website, Speeding up and Improving your Experience of services that a Specific Website Offers .For Example, a Website may offer its Stuff in different Countries. On your first Visit, you may choose to have the stuff delivered to India and the Website record that Preference in a Persistent Cookie set on your browser. When you again Visited that site it will use the cookie to ensure that the Stuff is delivered to India only. The “Remember Me” function on a website sets these kind of cookies.
Why Cookies are Harmless ?
Don't forget to Subscribe our YouTube channel and like our Facebook Page.