johnfraser
Programmer
I have an application that relies on 5-6 fundementle objects to run properly. They are session level objects that are accessed through out the application.
My question is... what is the perferred method to access these throughout the application?
I could:
provide a static property which handled the "unsafe" style of (MyClass)Session("MyVar"); and return the correct type
access Session each and every time.
I'm primarily a thick app developer so this sort of thing is kind of new.
Finaly question, if I use the object on one request and modify it, do I have to reinsert the object back into session? That is, is an object stored in session a reference type?
My question is... what is the perferred method to access these throughout the application?
I could:
provide a static property which handled the "unsafe" style of (MyClass)Session("MyVar"); and return the correct type
access Session each and every time.
I'm primarily a thick app developer so this sort of thing is kind of new.
Finaly question, if I use the object on one request and modify it, do I have to reinsert the object back into session? That is, is an object stored in session a reference type?