ACCORD IT TRAINING- JAVA, SOFTWARE TESTING, DOT NET, PHP COURSES IN CHENNAI

ASP.NET GLOBAL FILE




The ASP Global file:

This file is an alternative file that contains announcements about products, variables, and modes accessible
on each page in an ASP application.


All authentic browser scripts (Java, VisualBasic, JavaScript, PerlScript, etc.) can be used within ASP Net Global.


The ASP Global file can include only this following:

Application Incident
Session Incident
<object> declarations
type library declarations
The # include directive

Incident in Global
In Dot Net Training in Chennai, you can tell operations and session commodity when the  ASP Global
application and Incident starts when the application and Incident end what will we do. The code for this
is placed in the event field. The ASP Global file can have four types of events:

Application_OnBegin:
It Event appears Dot Net Training Institute in Chennai when the first client demands the first page in an ASP
application. This event appears when the Web server is re-establish or the ASP Global file is altered. The
"Incident_OnBegin" event appears instantly after this event.

Incident_OnBegin:
This event appears each time a new client demands its first page in ASP application.

Incident_OnStops:
This Incident appears DOT NET Course in Chennai each time a client stops a session. the client is not demanded
for a particularized period of time and then the user ends the session.

Application_OnLast:
This event appears subsequently the last client session ends. Usually, this event appears when a Web server
ceases. This process is used to clean up systems such as stopping applications, removing records or writing
information to textual information.

<Object> Declaration:
Using the <Object> metadata you can create objects with session or application objectivity in ASP Global in the file.

Type Library Declaration:
A TypeLibrary is a container tag for DLL file content that matches a COM product. Including a call to TypeLibrary
in the ASP Global file, COM can access the constant variables, and the bugs are reported well by the ASP code.
If your Web App is based on COM products which have declared data types in the type libraries, you can announce
the types of libraries in ASP Global file.

How to use the Sub Procedure:

ASP Global file is frequently used to initialize variables.
ASP Global can also be used to authority page approach.
You can add functions in the Global file.


These are the ASP global files in ASP.NET evolved in visual studio ASP.NET.




Comments