---
title: "Discussion on \"How to set Cookies and their attributes\" | Hashnode"
description: "Discussion on \"How to set Cookies and their attributes\". In this article, we are going to talk about cookies! What are they, how they came to be and their attributes.\nTo understand cookies we need to know a little history about the protocol behind it, HTTP. HTTP is a stateless protocol, which means it does..."
url: "https://hashnode.com/posts/how-to-set-cookies-and-their-attributes/60e482774aacd6304824355a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to set Cookies and their attributes](https://lraw.me/how-to-set-cookies-and-their-attributes?utm_source=hashnode&utm_medium=feed)

In this article, we are going to talk about cookies! What are they, how they came to be and their attributes. To understand cookies we need to know a little history about the protocol behind it, HTTP. HTTP is a stateless protocol, which means it does...

Jul 6, 2021 · 4 min read · lraw.me  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#security](https://hashnode.com/tag/security)

## Written by

[Lakshya Rawat](https://hashnode.com/@lraw)

@lraw

  
[View profile](https://hashnode.com/@lraw)

## Responses 1

Markdown supported · ⌘↵ to post

[Jeremy](https://hashnode.com/@Seent1953)

[Jul 6, 2021](https://hashnode.com/posts/how-to-set-cookies-and-their-attributes/60e482774aacd6304824355a/comment/60e487e54aacd630482436cb)

Thanks for the helpful article!
