get name of server

  • Thread starter Thread starter Andy Sutorius
  • Start date Start date
A

Andy Sutorius

Hi,

How do I get the name of the server? I want to change the navigation url
based on the name of the server the web app resides on. What namespace do I
need to include?

Thanks,

Andy
 
Hi Andy,

Here's one way:

Response.Write(Request.ServerVariables("SERVER_NAME"))

Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top