Asp.Net Questions and Answers
5. |
What is the use of the Global.asax file? |
|
The Global.asax file executes application level events and sets application level variables.
|
6. |
What are the event handlers that can be included in the Global.asax file? |
|
The Global.asax file contains some of the following important event handlers: - Application_Error
-
Application_Start
-
Application_End
-
Session_Start
- Session_End
|
7. |
What are the types of Cookies in Asp.net? |
|
There are two types of Cookies available in Asp.net-
Session Cookie
- Persistent Cookie
|
8. |
How can you identify that the page is PostBack? |
|
The Page object uses the IsPostBack property to check whether the page is posted back or not. If the page is postback, this property is set to true.
|