string lastUrl = Request.UrlReferrer == null ? "" : Request.UrlReferrer.ToString(); 转载于:https://www.cnblogs.com/linyongqin/articles/6026739.html