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

Explain the differences between clr & cts?

786


How do I publish my asp.net application to my isp's web server?

824


What is asp.net web pages?

744


Explain advantages of caching?

734


What is a multilingual website?

789


What is the difference between pathparam and queryparam?

815


Explain about the Class view window?

805


Explain a program using razor view engine to create a simple application? : asp.net mvc

734


Is it possible to apply themes to an asp.net application? If yes, then how?

810


What are validator? Name the validation controls in asp.net? How do you disable them?

794


Do you support digital rights management to protect my videos?

655


What is postback request?

756


Can you explain the basic use of dataview?

848


What is http response header?

827


Explain how is a property designated as read-only?

781