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

What is the file extension of web service?

750


How do I open an ashx file in windows 7?

770


What is httpresponse?

721


how to debug web services on consumer side?

804


What is boxing and unboxing in asp.net?

841


What are the Types of object in asp

837


What is the difference between typeof() vs gettype()?

788


What is asp.net mvc5? : Asp.Net MVC

773


what are the web form events available in asp.net?

771


How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.

5301


What is synchronous and Asynchronous post back ?

862


in which protocol ASP.NET WEB API Work?

820


What is the difference between application state and session state in asp net?

766


ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?

1702


Can we handle the error and redirect to some pages using web.config?

1264