Reputation: 37377
Which is most likely to still hold this value 100 days later, long-expiry sessions or localstorage?
Upvotes: 2
Views: 298
Reputation: 521995
You have complete control over how long a session is alive on your server.
You have no control whatsoever over anything that goes on on the client. That includes LocalStorage and the session cookie needed for the session. Either way, it entirely depends on the client, there's no prediction you can make here either way.
Upvotes: 6