---
title: "Discussion on \"Cookies vs Headers vs URL Parameter\" | Hashnode"
description: "Discussion on \"Cookies vs Headers vs URL Parameter\". URL Parameters\n\nFirst of all, we never recommend placing a token in the URL. URLs are bookmarked, shared with friends, posted online, etc. It is too easy for a user to copy a URL of a page they like and forward to a friend.\n\nSo this narrows us down t..."
url: "https://hashnode.com/posts/cookies-vs-headers-vs-url-parameter/61f522266bb59d5767db5e83"
---

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

Discussion

# [Cookies vs Headers vs URL Parameter](https://amsysharma.hashnode.dev/cookies-vs-headers-vs-url-parameter?utm_source=hashnode&utm_medium=feed)

URL Parameters First of all, we never recommend placing a token in the URL. URLs are bookmarked, shared with friends, posted online, etc. It is too easy for a user to copy a URL of a page they like and forward to a friend. So this narrows us down t...

Jan 29, 2022 · 2 min read · amsysharma.hashnode.dev  
Read the article

-   [#cookies](https://hashnode.com/tag/cookies)
-   [#localstorage](https://hashnode.com/tag/localstorage)

## Written by

[Aman Kumar](https://hashnode.com/@amsysharma)

@amsysharma · Hyderabad, India

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

Consider It Solved.

Skilled Software Developer with 3+ years of experience in the full SDLC creating dynamic web applications. Updates functionality based on customer requirements to ensure excellent user experience.

## Responses 1

Markdown supported · ⌘↵ to post

[Satyam Kumar](https://hashnode.com/@satyam-kumar)

[Jan 29, 2022](https://hashnode.com/posts/cookies-vs-headers-vs-url-parameter/61f522266bb59d5767db5e83/comment/61f57f0e6bb59d5767db6e36)

knowledgable post.
