I'm new to C# and ASP.Net - but catching on quickly. I inherited an application developed by a contractor - who was gone before the application went into Production (which was yesterday). In a nutshell - we have a problem happening intermittently (sp?). I was debugging for a specific customer number today and started seeing data for a totally un-related customer. I have a theory that says data is getting crossed when more than 1 user is using the application - which would explain why it wasn't noticed before - and possibly explains why it doesn't happen all the time. The tables are defined as follows:
public static DataTable writeDataTable;
public static DataTable readDataTable;
Wouldn't these tables be shared among all users? I would think that the tables should either be defined as private, or a user_id could be pre-pended to the table name - like
public static DataTable 'tmryan' + writeDataTable; (syntax?)
Any help would be greatly appreciated.
Thanks
Tim
Tim Ryan
PROGRESS Developer
public static DataTable writeDataTable;
public static DataTable readDataTable;
Wouldn't these tables be shared among all users? I would think that the tables should either be defined as private, or a user_id could be pre-pended to the table name - like
public static DataTable 'tmryan' + writeDataTable; (syntax?)
Any help would be greatly appreciated.
Thanks
Tim
Tim Ryan
PROGRESS Developer