How to identify host of my system?
How to identify servername of my system?
How to identify domainname of my system?
Answer Posted / vijendra singh
To identify host of my system
Request.ServerVariables["HTTP_HOST"]
To identify servername of my system
Request.ServerVariables["SERVER_NAME"]
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What are the 3 types of web?
What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?
How do you declare static variable? What is its lifetime?
Explain form level validation and field level validation?
What are the asp.net security controls?
Explain transparent caching with aop?
I have an external link in my application say www.xyztest.com. Today this site works on http protocal. Tommorow it may run on https. So i cant hardcore the protocal in the site. When a user clicks on the link how can i know if the external site works on http or https and takes him to that place?
What is the importance of Global.asax in ASP.NET?
What is event bubbling?
What is asp.net and how it works?
What is the equivalent of date() and time() in asp.net?
Explain the difference between overriding and overloading?
What is the good practice to implement validations in aspx page?
What is viewstategenerator?
Explain different types of validators in asp.net?