Static class in business logic Application or Session

  • Thread starter Thread starter MattC
  • Start date Start date
M

MattC

I have a static method in a class that sets some static private members that
are exposed by public properties.
This class sits in a business logic assembly.

My question is will that object exist as a static object per session or per
application.

TIA
 
Per application.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Static calls are made outside of an object instantiation, so your never
really creating a new object. You would have to create an instance of your
class and place the object instance into either the session or application
if that's what your trying to do, in which case you may not want to use
static members.
 
Back
Top