, HttpContext.Current.Items.
"" HttpContext.Current.Items, .
, urlrewriter.net, , - :
HttpContext.Current.Items["Redirected_From"] = currentUrlHere;
And then on your web pages you can check this:
if (!string.IsNullOrEmpty(HttpContext.Current.Items["Redirected_From"]))
else
I have long left it for the ASP.NET Routing platform in .NET 3.5 SP1, which is better than urlrewriter.net IMO.
source
share