.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Articles >> ASP.NET >> Post New Resource Bookmark and Share   

 Subscribe to Articles

ASP Objects.

Posted By:Athira Sreejith       Posted Date: December 31, 2008    Points: 25    Category: ASP.NET    URL: http://www.dotnetspark.com  
 

ASP Objects.

There are 7 types objects in ASP.NET.These Are

1.Request :
Request object is used to access all information sent in request from a browser to the user.

2.Response:
Response object is used to send information back to browser.

3. Server:
Server object is used to represent the web server itself.
Server object allows the user to use the available functions on the server.Also
server object is to control the length of time a script executes before it comes out.
Mainly server object is used to create instance of other objects.

5. Application:
The application object represents an entire ASP application and is used to store and retrieve the information
that can be shared among all users of an application.Application object can have any number of sessions.

5. Session:

The session object is to store and retrieve information like application object,but it is limited
to only that particular user session.Here the variable declared in the session are called session variable.
session is the concept of scope.Where the data is available to all pages of ASP application.
A session is created when the client first makes a document request and is destroyed by default
twenty minutes after the last request is received.

6. Objectcontext:

Object context object is used to control a large number of transaction .
these transactions are managed by the Microsoft Transaction server(MTS).
Object context object to either commit or abort transaction.

7. Error object:

Error object contains the details of any error generated by ASP script or by the Asp dll itself

 

 

 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend