Yes,
In ASP.Net the web page generation works in context of an instance of the
HttpApplication
object.
In a page or a custom control these are available implicitly as they're included as properties within the base objects these item inherit from.
Out of context of such pages you can find the current http execution context here:
System.Web.HttpContext.Current
This object includes instances of
HttpSessionState
,
HttpRequest
,
HttpResponse
and many other things.
To access these and have them properly initialised you must be working within a web project and have the
System.Web
assembly referenced.