I think your whole understanding is off. Yes, you can access any resource in you web application, because of a thing called Just-In-Time compilation. When any page is served, the whole site is recompiled. Session state is just that; a session. It ends when the user leaves the site. Namespaces are like SuperClasses; they contain several classes inside of them that share a common goal.
Hope this helps.
