Norbi
01/25/2024, 1:44 PMAleksei Tirman [JB]
01/25/2024, 1:47 PMcall.sessions.clear()
method for that.Norbi
01/25/2024, 1:49 PMAleksei Tirman [JB]
01/25/2024, 2:00 PMShould I "refresh" the cookie on each user activity to prevent the expiration of the session?Yes. You can use the
call.sessions.set()
method to prevent the cookie from expiring.Norbi
01/25/2024, 5:18 PMYou can use theMaybe is there a way to simply resend themethod to prevent the cookie from expiringcall.sessions.set()
Set-Cookie
header instead?
I'm afraid that using call.sessions.set()
will re-write the SessionStorage
every time...Aleksei Tirman [JB]
01/25/2024, 5:40 PM