dWebSpec Dictionary
CONTEXT: descriptors->behavior-define->define-scope




All Details Standard Only Platform Only
Structured Web info and helpTechnologies
 Home Page
 Product Page
 Download Page
 Feedback
Javascript Tree Menu

Results for:

 behavior-define.define-scope 
Prev  Topic  Next

The scope definition for the object defined. The common scopes are Application, Session, Request, Page and Stateless.

 ASP.NET  
The Page scope usually applies to objects used on the page. Since the objects from the other scopes are usually obtained through special objects, like Session, Application, Cache, etc., this attribute might not be essential.

For example, a session variable would be accessed as shown below.

<%# Session("userID") %>

Or else referred to as shown below, when used as a parameter.

<asp:SessionParameter Name="username" SessionField="txtUsername" Type="String" /> 

Prev Next