-4

I faced an error in mud blazor when I open more than one user at the same time while connected to the same wifi the data reflects between users. I need a solution according to data base first

I need handel users in session or cookies

  • Welcome to Stack Overflow! Your question is not clear. Please elaborate on what you are trying to ask, including an example of what you're attempting and what specifically isn't working as expected. To learn more about this community and how we can help you, please start with the [tour] and read [ask] and its linked resources. – David Aug 30 '23 at 13:01
  • The login is set as a global static variable, it logs in with the latest user on all users on the server. I need a solution that will work on a database first model – hema hamdy Aug 30 '23 at 13:11
  • Well that's probably a bad idea then. `static` attaches something to the *type* rather than to any given *instance* of that type. In general you can think of a `static` member as being "per application". So if your *authentication information* is `static` then only one can exist "per application" at any given time. – David Aug 30 '23 at 13:14
  • Does this answer your question? [What does `static` mean in c#?](https://stackoverflow.com/questions/9410688/what-does-static-mean-in-c) – David Aug 30 '23 at 13:15

0 Answers0