vb.net modules in ASP.Net

G

Guest

I have an ASP.net 2.0 website. This website have a module; Public Module
myModule.
Is all the data in this module shared and not thread safe?
 
B

bruce barker

yes the data objects shared between threads. its threadsafe if all the
data objects are threadsafe.

-- bruce (sqlwork.com)
 
G

Guest

I am not sure that you are correct.
I thought a module was converted to a static class and that all the data in
a module will be shared/static and not threadsafe.
 
T

Teemu Keiski

Depends on do you mean having members too or just methods which take all
they need, as arguments
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top