Yes, sorry Public without Shared.
Thanks for pointing that out Ryan.
Ben
On 2/28/07, Ryan Heath <[EMAIL PROTECTED]> wrote:
> I've changed the variable declaration to "Public" and ran a test
> (making use of System.Threading.Thread.Sleep) and with the Shared
> declaration I was able to mimic th
I've changed the variable declaration to "Public" and ran a test
(making use of System.Threading.Thread.Sleep) and with the Shared
declaration I was able to mimic the behavior and with Public it seems
to be "thread safe".
With "Public" you mean, without the "Shared" keyword?
If not, then it is
I think I have found the problem.
In my base class I had some variabled declared as "Protected Shared ".
Multiple client sessions would create instances of classes derived
from this base class and assign values to the variables (via exposed
public properties). There was a situation yesterday wh
No worries Erik, I do appreciate yours and anyone's input. If this
*is* on-topic on an 'advanced' list as this then I hope someone may
have some ideas.
Cheers,
Ben
On 2/27/07, Stoyan Damov <[EMAIL PROTECTED]> wrote:
On 2/27/07, Erik M. Erikson <[EMAIL PROTECTED]> wrote:
> ...
No offense here
On 2/27/07, Erik M. Erikson <[EMAIL PROTECTED]> wrote:
...
No offense here. I didn't know you actually helped Ben before you
ruled out his post as off-topic.
Sorry,
Stoyan
===
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and mana
I was the one that advised that this might not be the correct list to
post to. I am relatively new to the list and although I am not exactly
sure of the scope of this list, though the e-mails I have seen so far
have been much more advanced in subject matter than what further
discussion off-list un
On 2/27/07, Ben Joyce <[EMAIL PROTECTED]> wrote:
I've been advised off-list that this is not the place to ask this sort
of questions, my apologies.
Ben
Does this mean that:
a) multithreading is NOT an advanced topic or
b) mentioning ASP.NET along with multithreading makes your post off-topic?
I've been advised off-list that this is not the place to ask this sort
of questions, my apologies.
Ben
On 2/27/07, Ben Joyce <[EMAIL PROTECTED]> wrote:
Hi.
How do I ensure that the classes in my App_Code folder are
thread-safe? I understand that an ASP.NET application can share
properties/met
Hi.
How do I ensure that the classes in my App_Code folder are
thread-safe? I understand that an ASP.NET application can share
properties/methods amoung all the instances of the pages/sessions but
I want to protect my class(es) against this so that within my
function/code the class data will not