Re: [w3c/push-api] Push notifications for logged In user (#297)

This isn't a Push API issue. As others mentioned, be sure to unregister the Service Worker and/or push subscription when the user logs out. Your server could invalidate subscriptions when a user logs out. For client-side session expiration, take a look at the [Cookie Store API](https://github.com/WICG/cookie-store) that intends to provide a `cookiechange` event on the Service Worker global scope.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/issues/297#issuecomment-418132121

Received on Monday, 3 September 2018 14:31:14 UTC