---
title: "Discussion on \"How websites instantly invalidate your old password\" | Hashnode"
description: "Discussion on \"How websites instantly invalidate your old password\". A simple explanation of how password updates, hashing, session invalidation, and database consistency make old passwords stop working instantly."
url: "https://hashnode.com/posts/how-websites-instantly-invalidate-your-old-password/69a059f3ab6baac8ff172d50"
---

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

Discussion

# [How websites instantly invalidate your old password](https://medhaa.hashnode.dev/how-websites-instantly-invalidate-your-old-password?utm_source=hashnode&utm_medium=feed)

A simple explanation of how password updates, hashing, session invalidation, and database consistency make old passwords stop working instantly.

Feb 26 · 5 min read · medhaa.hashnode.dev  
Updated Mar 1  
Read the article

-   [#passwords](https://hashnode.com/tag/passwords)
-   [#databases](https://hashnode.com/tag/databases)
-   [#hashing](https://hashnode.com/tag/hashing)
-   [#system-design](https://hashnode.com/tag/system-design)
-   [#learning-in-public](https://hashnode.com/tag/learning-in-public)
-   [#authentication](https://hashnode.com/tag/authentication)
-   [#backend](https://hashnode.com/tag/backend)
-   [#websites](https://hashnode.com/tag/websites)

## Written by

[Medha Singh](https://hashnode.com/@medhaa)

@medhaa

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

Asking "how does it works?!" in tech

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
