G
Guest
I am using thread.GetNamedDataSlot and thread.SetData to attach data to a
thread inside of a class library which in turn is used by an asp.net 2.0
application. For the most part it works but we are getting sporadic problems
where the data that was just set on the thread cannot be retrieved (it's
null).
It's almost like the IIS thread that we attach the data to at the beginning
of the call is lost and a new thread created before the call finishes. But I
don't believe this is how the IIS works on windows 2003. The thread that
starts should be the one that finishes the call and thus should have the data
in the slot throughout the life of the thread.
Has anyone ever experienced this kind of problem?
thread inside of a class library which in turn is used by an asp.net 2.0
application. For the most part it works but we are getting sporadic problems
where the data that was just set on the thread cannot be retrieved (it's
null).
It's almost like the IIS thread that we attach the data to at the beginning
of the call is lost and a new thread created before the call finishes. But I
don't believe this is how the IIS works on windows 2003. The thread that
starts should be the one that finishes the call and thus should have the data
in the slot throughout the life of the thread.
Has anyone ever experienced this kind of problem?