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
Explain the difference between webfarm and webgardens in .net?
Apart from IDE what are the enhancements in asp.net 2.0?
What is a user session?
What is cross page posting? How is it done?
What is a postback in asp net?
What does mvc represent in asp.net? : asp.net mvc
Tell me the code snippet to show how we can return 404 errors from HttpError?
How do u declare static variable and how it is declared and what is its lifetime?
What are the different types of validation controls in asp.net?
What is difference between abstract class and an interface?
What is difference between datalist and gridview?
Mention few asp.net validators.
Describe paging in asp.net?
What is the life-span of the items in the viewstate?
How can you dynamically add user controls to a page?