Given the concerns around cookies and their limitations, such as small storage capacity, privacy concerns, and the fact that they can be blocked by users, storing values in a browser session might indeed be a more privacy-conscious and user-friendly alternative. Session storage is a part of the Web