Logout the user when browser tab/window is closed but not on refresh
In one of my Angular projects, I’m facing a problem where the user is gets logged out when the browser is refreshed, but I need to log out only when the browser tab/window is closed. Though, I’m able to log out of the user whenever the browser window/tab is closed, the same logout API call is made whenever I’m refreshing the browser.
Logout the user when browser tab/window is closed but not on refresh
In one of my Angular projects, I’m facing a problem where the user is gets logged out when the browser is refreshed, but I need to log out only when the browser tab/window is closed. Though, I’m able to log out of the user whenever the browser window/tab is closed, the same logout API call is made whenever I’m refreshing the browser.
Name of file saved through angular ui
In my angular application, there is a feature to download a file.