In the shopping cart, I saved the cart data in a public static class.
Are basket data stored separately for all other customers?
or I'm trying to check out another option for storing the basket.
The content of the static class in asp.net will be the same for all clients. You should store items in a session or in any other storage, depending on your requirements (there may be a permanent storage, for example, if you need to)
No. All customers have the same basket. Never store any data in a static class that you need for a specific user. You can use a session for this.
Source: https://habr.com/ru/post/1392635/More articles:Recursive customization in C # - c #How to determine if a custom terminate () handler is installed? - c ++Is there a way in the console to stop java from starting a new line when hit enter? - javaHow can I get the current terminate () handler without changing it? - c ++HttpContext.Current.User.IsInRole not working - securityHow to extract resources from .msi files - cDoctrine2: required version of MySql - mysqlApplication_End is called too early / often - asp.net-mvc-3Process.Kill () and process events - multithreadingWhat is the most efficient way to arrange images radially using javascript? - javascriptAll Articles