---
title: "Discussion on \"Page Life cycle - beforeunload, pagehide, unload\" | Hashnode"
description: "Discussion on \"Page Life cycle - beforeunload, pagehide, unload\". Have you ever wanted to save any data before the users closes the web page ?\nThere are JS  events where we can send server side requests to save useful data . The normal synchronous http request does not work and only asynchronous methods like Fetch ..."
url: "https://hashnode.com/posts/page-life-cycle-beforeunload-pagehide-unload/5fe9ee8c04b82a4a877f3295"
---

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

Discussion

# [Page Life cycle - beforeunload, pagehide, unload](https://mithun.hashnode.dev/page-life-cycle-beforeunload-pagehide-unload?utm_source=hashnode&utm_medium=feed)

Have you ever wanted to save any data before the users closes the web page ? There are JS events where we can send server side requests to save useful data . The normal synchronous http request does not work and only asynchronous methods like Fetch ...

Dec 28, 2020 · 2 min read · mithun.hashnode.dev  
Read the article

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

## Written by

[mithun mohan](https://hashnode.com/@Mithunmohan)

@Mithunmohan

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
