I want my URL to be static for eg "http://project1"
-
I wamt the URL of my project to be "http://project1" irrespectives of the pages u visit in the project...Howis it possible...
-
I wamt the URL of my project to be "http://project1" irrespectives of the pages u visit in the project...Howis it possible...
In your
Global.asax
, I believe you need to add the following :-protected Sub Application_BeginRequest(ByVal sender as Object, ByVal e as System.EventArgs) Dim incoming As HttpContext = HttpContext.Current incoming.RewritePath("http://Project1") End Sub
Steve Jowett ------------------------- Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
-
In your
Global.asax
, I believe you need to add the following :-protected Sub Application_BeginRequest(ByVal sender as Object, ByVal e as System.EventArgs) Dim incoming As HttpContext = HttpContext.Current incoming.RewritePath("http://Project1") End Sub
Steve Jowett ------------------------- Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
It shows an error that the virtual path "http://project1" doesnt exist