I have a question about static strings and so forth, in an ASP.NET MVC.
I need to hold a string(a value), when the user goes through the application.
Problem is, I feel like that would be a violation to the MVC. I just need to store a string per user, so it seems like a violation to the MVC separation.
Thank you.
You could use Session or Cookies which both guarantee a safe per user storage. Don’t use static objects. They will be shared between all users of the application.