摘要 |
<p>The invention is a method for allowing a service (SE) hosted by a secure server (SV1) to be aware that a portable token (SC) has been disconnected from a client device (PC) comprising a browser (BR). The method comprises the following steps:
- performing a short polling in the client device (PC) allowing the browser (BR) to detect that the portable token (SC) has been disconnected less than a first limited duration after disconnecting,
- sending a long polling request from the browser (BR) to a session manager (SM) for establishing a watchdog session by the session manager (SE),
- when the browser (BR) detects that the portable token (SC) has been disconnected, sending a disconnect message from the browser (BR) to the session manager (SM),
- upon receipt of the disconnect message, sending a logout message from the session manager (SM) to the service (SE).</p> |