I am a Windows Forms guy moving into web development. On all my other programs I would create a static class to hold program wide variables such as
public static class GlobalVariables
{
public static DateTime expDate;
public static DateTime quoteDate;
public static decimal discountTotal1 = 0;
public static decimal discountTotal2 = 0;
public static decimal discountTotal3 = 0;
public static decimal finalTotal;
public static decimal netWeight;
public static decimal qlWeight;
public static decimal runningTotal;
public static decimal workingTotal;
}
A friend of mine who is a professional web developer said that all those variables would be getting overwritten when multiple users use my web application.
Is he correct? If so why? How do I make these variables user specific?