Is there any socket method or any other way to differentiate between tab close and refresh browser in node.js?
Asked
Active
Viewed 3,018 times
-1
-
1pls also tell the reason if you vote down.. – Vardan Jun 04 '14 at 09:21
-
your understanding is so wrong it's impossible to even say anything... Node.js is server side, there is no tabs or browser – Esailija Jun 04 '14 at 11:37
-
yes node.js is server side. like 'disconnect' method is fired when we close the tab of browser or refresh the browser. I just want to differentiate between two. – Vardan Jun 04 '14 at 13:39
-
Does this answer your question? [Identifying Between Refresh And Close Browser Actions](https://stackoverflow.com/questions/568977/identifying-between-refresh-and-close-browser-actions) – Heretic Monkey May 06 '20 at 12:17