I have users login to my webapp, if they refresh I do not want them to have to login again.
I want to connect them to the session they were on before the refresh.
I have created an array of sessions to remember the active sessions.
When the user logins in, I store the Session.Identifier as a cookie on the user’s browser as well as save the session in my active sessions.
When a refresh is done it searches for the active session, with the current users cookie value and finds it. (This all works)
My question is how do I point the session to the session of the cookie value of the user, so they don’t have to login again?