dnsbty / level10

Phoenix LiveView multiplayer card game
https://level10.games
MIT License
70 stars 2 forks source link

Setting max age for session cookie #94

Closed lostbrother closed 2 years ago

lostbrother commented 2 years ago

To fix session timing out- I was working on storing a user_id cookie to the user device and retrieving it, instead of generating a new one. I discovered through testing, that setting the existing session cookie max age in the endpoint does this automatically.

lostbrother commented 2 years ago

Sorry, I didn't realize my commits after a pull request would stack up on top of the pull request. Not sure if there is a way to delete this mess