What is server objects in asp.net?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / vikas semra
Server Object bascially used to know about server.
Let's take an example
We just write server.transer("SomePage");
This What ever server is doing just stop processing
immediately and redirect to somePage.
| Is This Answer Correct ? | 15 Yes | 3 No |
Answer / rakesh
Server.transfer is like method callback
but the url name can't be changed
it will create annonymous actions while postback
| Is This Answer Correct ? | 3 Yes | 4 No |
Answer / dennis
Asp is one of the most interesting concepts of ASP.Net.
ASP is derived from the Greek word ''which also means ASP.
A server means the person who serves food during dinner time or during lunch, but not during breakfast because breakfast is usually served by mothers.
Hence the server objects point to those objects or the food-items that are served by a waiter/server in Greece....
| Is This Answer Correct ? | 1 Yes | 13 No |
What are the types of validation in asp net?
If we write return statement in finally block will it works fine or throws any error?
What are the event handlers that can be included in the Global.asax file?
Explain the difference between globalization and localization techniques
What is difference between masterpage and user control, what is the objective of master page when we had user control in .NET 1.1 version
How to check the end of the record in Datareader?
How to do state management in ASP.NET?
What is the difference between file-based dependency and key-based dependency?
To redirect the user to another page which method do we use without performing a round trip to the client?
If we remove web.config or machine.config from the application then, is this application will works?
Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?
Differentiate globalization and localization.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)