I need to have a value available to all pages in my Blazor server side application (An AccountID). Obviously any page variable or global variable is reset/lost on page refresh.
I looked at all the various options in terms of cookies, local storage and session storage and it looks like the best fit would be the use of cookies with Javascript Interop.
Is this the best way and what is the best way to implement this?