CipherIS
asked on
C# HttpContext.Current.Request.Url.AbsoluteUri.ToString()
I am using the following code to determine the web url so I can generate an e-mail to the user.
HttpContext.Current.Reques t.Url.Abso luteUri.To String()
The problem is that its suppose to return something like:
https://www.microsoft.com/mywebiste/default.aspx
but it is returning instead (via e-mail)
https://myservername/mywebsite/default.aspx
Any idea why and how to resolve?
HttpContext.Current.Reques
The problem is that its suppose to return something like:
https://www.microsoft.com/mywebiste/default.aspx
but it is returning instead (via e-mail)
https://myservername/mywebsite/default.aspx
Any idea why and how to resolve?
Could you show me the url on the address bar of your browser ? Which IIS did you deploy your website on ?
ASKER
Can't show you the url on the address bar. IIS6
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.