Author: HamLon | Posted on: 8/18/2008 5:31:10 AM | Views : 523

Hi,

Finally turning to you guys for some support after googled this for quite some time.

I have a web application running .Net 1.1 which finds it funny to, on a none regular basis, present wrong data to the user. The application is pretty simple, search for an object, or navigate directly to it, passing a QueryString of ID to the application.
The GUI will then load the object by turning to the logic layer passing the QueryString which in turn executes a sproc in the DB layer.

string queryID = Request.QueryString("ID");
//  Some code to check if object exists in DB / Regex match
......
UserObj obj = Logic.LoadObject(Convert.ToInt32(queryID));

The code works just fine in the development environment hosting few programmers, but it soon turned out that something was wrong once in production. Users started to get completely other objects in their browser than what the QueryID showed. So, I added some logging function ...

Go to the complete details ...