response redirect from .ashx file

后端 未结 3 1289
醉梦人生
醉梦人生 2020-12-18 21:11

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

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-18 21:59

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

提交回复
热议问题