Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Question: How to unload inactive WhatsApp clients without losing session data? #351

@rgf2004

Description

@rgf2004

I'm building a website that uses the whatsapp-api to manage multiple accounts for different users. When a user becomes inactive (detected via WebSocket), I want to terminate their client/browser session to reduce resource usage, but without losing the authentication/session data, so that the client can be reinitialized when the user logs in again.

Is this possible with the current APIs? If not, what approach would you recommend?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions