M
Mel
This may be a stupid question, but here goes...
I have created a NameValueCollection in my website's application state. If,
during a page request, I add a string key and string value to the
collection, how are they stored? Strings are objects so I'm really only
passing references, right? Now I assume that request handlers run in
different threads with their own memory spaces, and when the request ends,
the memory space is unaloted, taking with it my string objects. What am I
missing here?
I have created a NameValueCollection in my website's application state. If,
during a page request, I add a string key and string value to the
collection, how are they stored? Strings are objects so I'm really only
passing references, right? Now I assume that request handlers run in
different threads with their own memory spaces, and when the request ends,
the memory space is unaloted, taking with it my string objects. What am I
missing here?