Re:A practical proposal for migrating to safe long sessions ...
by riskable on Thursday July 21, 2016 @03:35PM
(#12139427)
A simpler solution is to simply keep the connection open until the session is complete. That way you can use the long-lived session token (in the cookie) each time the user visits your site/app and then just keep a WebSocket open while the user is connected.
This has many advantages beyond the short/love-lived cookie stuff.
This has many advantages beyond the short/love-lived cookie stuff.