What is server objects in asp.net?

Answer Posted / arpita malviya

The Server object is used to access properties and methods
on the server.

These are its methods and properties;
CreateObject: Creates an instance of an object
Execute :Executes an ASP file from inside another ASP file
GetLastError() :Returns an ASPError object that describes
the error condition that occurred
HTMLEncode: Applies HTML encoding to a specified string
MapPath :Maps a specified path to a physical path
Transfer :Sends (transfers) all the information created in
one ASP file to a second ASP file
URLEncode: Applies URL encoding rules to a specified string

Is This Answer Correct ?    22 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method is used to enforce garbage collection in .net?

511


Explain the use of resource manager class in .net.

598


How many types cache in asp net?

631


Explain about consistent programming model in the .NET framework?

683


List all templates of the repeater control.

654






Why session is necessary in web application?

614


What is the difference between a cookie and a pixel?

563


Which object wraps the state or data of a user?

633


What is the difference between the asp and asp.net?

582


Explain diff. Between friend and protected friend?

588


What is application variable?

605


What are the types of validation in asp net?

633


What are demand-paging and pre-paging?

659


What do you understand by aggregate dependency?

702


What is _viewstart?

585