I am writing a user rating through VC.
I receive the data, if the user is - update, if not, create.
We write all this into the user's session.
Next you need a little first-hand clarification.
As I understand it (correct, if that), the session is stored until the user closes the browser or 24 minutes if there is no activity. Therefore, I plan to write the user ah-di in encrypted form (the decryption on the server). Further, if a person comes in with cookies, we take his data from the database and create a session with them.
How to do this, I understand, but read the info and everyone writes that you need to store the session ID? What does this mean, because the session is destroyed or not? How to properly implement re-entry, so as not to make mistakes?