0

I have a question for event when browser or tab closed.

I made a project with login session and cookie.

For this, i want to clear session and cookie when i left the page. I could do with methods when logout button clicked.

I use blazored localStorage NuGet-package.

Are there any C# Blazor event for browser closed?

or any suggestion? for what i tried to do?

Cheers!

GRAGW
  • 11
  • Does this answer your question? [How can I get the event while page close in blazor server-side?](https://stackoverflow.com/questions/59980882/how-can-i-get-the-event-while-page-close-in-blazor-server-side) – Steve Greene Aug 01 '21 at 14:06

0 Answers0