Search code examples
.netashx

response redirect from .ashx file


I have ashx file and I want to redirect from ashx to aspx page. Some solution?


Solution

  • void ProcessRequest(HttpContext context)
    {
         context.Response.Redirect(newUrl);
    }