July 2015
Intermediate to advanced
1300 pages
87h 27m
English
You use the Context state when you want to hold state only for the lifetime of a single request. This is useful when you need to have information in memory for a long period of time and need to ensure that keeping such information does not affect scalability. This is an example:
Context.Items("MyStringKey") = "My string value"Dim contextString As String = CStr(Context.Items("MyStringKey"))
The context information is accessed at the page level and will not be available again on the next request.
Read now
Unlock full access