whatsapp-api icon indicating copy to clipboard operation
whatsapp-api copied to clipboard

Session not persistent if the server gets restarted

Open sunilsankar opened this issue 1 year ago • 5 comments

Do we need to do additional steps since I don't see the session being persistent. Can you please let me know how to make the session persistent after restart

sunilsankar avatar Mar 05 '24 07:03 sunilsankar

The session cache is stored in the sessions folder. Be sure that this folder is not being removed on server restart.

avoylenko avatar Mar 05 '24 09:03 avoylenko

Hi I already store the session and I see it getting created. Can you tell me what is the purpose of this flag RECOVER_SESSIONS=TRUE

sunilsankar avatar Mar 11 '24 08:03 sunilsankar

The RECOVER_SESSIONS env controls session restart in case of page failures.

avoylenko avatar Mar 12 '24 19:03 avoylenko

Have these two settings enabled hope this doesn't disconnect

sunilsankar avatar Mar 12 '24 20:03 sunilsankar

Hi I already store the session and I see it getting created. Can you tell me what is the purpose of this flag RECOVER_SESSIONS=TRUE

I have this TRUE still the same issue.

gamingflexer avatar Mar 14 '24 11:03 gamingflexer