ASP.NET INTERVIEW QUESTION & ANSWERS
91. |
What are the types of trace switches? |
|
There are two types of trace switches :
- Boolean Switch
- Trace Switch
|
92. |
What directive enables caching for a Web form or user control? |
|
The output caching directive enables caching. |
93. |
What are the types of ASP Objects? |
|
There are various types of Asp objects are :- Session Object
- Application Object
- Server Object
- Request Object
- Request Object
- Response Object
- Object Context
- Error Object
|
94. |
What method do you use to explicitly kill a user's session? |
|
The Abandon method destroys all the objects stored in a Session object and releases their resources.If you do not call the Abandon method explicitly, the server destroys these objects when the session times out.
Syntax: Session Abandon |
95. |
What ASP.NET class reads the contents of a form after the user clicks the Submit button? |
|
The HttpResponse class reads the content of the form. You access this class using the Response object, where you can use the Form or Parameters collection to find each form entry. |