CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Apr 2011

    [RESOLVED] Class File - Timing Issue?

    I have c#/asp.net web application which has several aspx.cs. I have created a class file(cs) that contains variables and methods that is used through out the applications. My problem happens only occasionally which I believe is an timing issue among multiple users. With the debugging I have done, it appears that the variables in the class file is trying to be updated at the same time. I was thinking that the each user had their on copy of the class file, appears that is not true. What is the best practice to be able to use the same variables & methods in the class file among multiple users without mixing up the data. Is there a way to isolate each users data without declaring the same variable in each aspx.cs.

    The application was originally written using VS 2005, but been using VS 2010 for the past year for modifications.
    Last edited by godistop1; March 4th, 2013 at 02:07 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)