Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why most of the website cannot work without cookies?

Tags:

Recently I got person ask me why our website doesn't work without cookies. My explanation is we need to save tokens and some reference in cookie, So that later on we can use it to make requests and there is limit options that we can use to save data in browser. But he doesn't satisfied with my answer and I also think there is a few options that we can make it work instead of using cookies/localStorage/sessionStorage.

My question is why most of the website cannot work without cookies? Can we make the website works without any storage in the browser?

like image 768
Bruce Mu Avatar asked Dec 02 '16 11:12

Bruce Mu


People also ask

Can website work without cookies?

Without cookies, you'd have to login again after you leave a site or rebuild your shopping cart if you accidentally close the page. Making cookies an important a part of the internet experience. Based on this, you'll want to understand why they're worth keeping — and when they're not.

Why does every website require cookies?

Cookies are small files that websites send to your device that the sites then use to monitor you and remember certain information about you — like what's in your shopping cart on an e-commerce site, or your login information.

What happens if you don't accept cookies on a website?

Accepting cookies will give you the best user experience on the website, while declining cookies could potentially interfere with your use of the site. For example, online shopping. Cookies enable the site to keep track of all of the items that you've placed in your cart while you continue to browse.


1 Answers

Using cookies allows your website to remember the user (e.g. last login, avoiding having to login again) and offer corresponding benefits to them and you (e.g. tracking usage/interest, advertising). If you don't want these benefits then of course you can deliver a website which doesn't use cookies. If the website needs a login they will have to login on every different page viewed.

like image 94
DisappointedByUnaccountableMod Avatar answered Oct 11 '22 16:10

DisappointedByUnaccountableMod