June 2002
Intermediate to advanced
816 pages
28h 12m
English
Current
HttpContext = HttpContext.Current
Retrieves the current HttpContext instance.
HttpContext
The current context.
This example uses the IsDebuggingEnabled property, described later in this chapter, to show whether debugging is enabled:
Sub Page_Load( ) Message.Text = HttpContext.Current.IsDebuggingEnabled.ToString( ) End Sub
Current is a shared (static) property, indicating that you can access
it without creating an instance of the HttpContext
class.
Read now
Unlock full access