---
title: "Discussion on \"Handling Cookies and Sessions: A Client's Cookie Jar vs a Spec-Aware Flow\" | Hashnode"
description: "Discussion on \"Handling Cookies and Sessions: A Client's Cookie Jar vs a Spec-Aware Flow\". A cookie jar hides session state; an explicit spec flow captures and clears the session and verifies its security attributes."
url: "https://hashnode.com/posts/cookies-sessions-cookie-jar-vs-spec-flow/6ae83bcc752f846db0706a96"
---

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

Discussion

# [Handling Cookies and Sessions: A Client's Cookie Jar vs a Spec-Aware Flow](https://blogs.powerduck.com/cookies-sessions-cookie-jar-vs-spec-flow?utm_source=hashnode&utm_medium=feed)

A cookie jar hides session state; an explicit spec flow captures and clears the session and verifies its security attributes.

Nov 2 · 5 min read · blogs.powerduck.com  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#api](https://hashnode.com/tag/api)
-   [#developers](https://hashnode.com/tag/developers)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
