An application can hang if the cookie has been set, the client makes a request, but the session is not found in the database. This modifies the code to still set a session object even if the session is not found and also reset the cookie so a new session is created.
An application can hang if the cookie has been set, the client makes a request, but the session is not found in the database. This modifies the code to still set a session object even if the session is not found and also reset the cookie so a new session is created.