Hi,
I have developed web application that is hosted under a virtual root directory named "MyVirtualRoot".
So whenever I use Request.ApplicationPath it returns "\MyVirtualRoot" which is theoritically correct. But whenever I redirect the user using response.redirect the address bar shows the name of virtual directory.
For example when I say:
Response.Redirect("~/Cart.aspx", false);
The path in the address bar appears as www.mydomain.com/MyVirtualRoot/Cart.aspx which is theoritically correct but I want to get rid of the "MyVirtualRoot".
How can I do that without making changes to all the pages with minimum impact. I am sure there is some way to achieve this but ...
Go to the complete details ...