Dim URL_path As String = HttpContext.Current.Request.Url.ToString() If (Not URL_path.Contains("/Public/Main.aspx") And Not URL_path.Contains("/Public/Login.aspx") ) Then Context.RewritePath("/Public/Main.aspx") End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)