first of all thank you for taking the time to read this and to help me.
I'm creating a SPA via Angular and I need something like a session to "save" some data (users, ids, settings, etc.), but just for the logged in user. My question was what should I use, cookies or sessions ? Or is there anything else that may give me the "best practice".
I researched about this topic for 2 days now. My results are that the most common way these days is server-sided data with the session id encrypted in a cookie.
Is there like a template or something on what to save server-sided and where to save it ? Do I create a new table in a database?
I hope you guys understand my question. Thank you for taking the time.
Greetings Nico aka. Myridor