Do static websites store cookies?

Viewed 533

I am developing a static website and I will deploy it using a hosting service. I am wondering whether the website will store cookies once deployed (perhaps set by the hosting service), and if and how I should ask users for permission since I have no backend but only frond-end html/css pages.

1 Answers

If there is only HTML and CSS then it stores no cookies. But if you have some javascript code in your website then you can use javascript to store cookies for remembering things. But for a simple HTML and CSS website cookies have no benefit to you and you can't access them.

Related