string url= Context.Request["ReturnUrl"].ToString();

 RedirectFromLoginPage 方法重定向到查询字符串中使用 ReturnURL 变量名指定的 URL。例如,在 URL http://www.contoso.com/login.aspx?ReturnUrl=caller.aspx 中,RedirectFromLoginPage 方法重定向到返回 URL caller.aspx。如果 ReturnURL 变量不存在,则 RedirectFromLoginPage 方法将重定向到 DefaultUrl 属性中的 URL。

原文地址:https://www.cnblogs.com/ok519/p/1283152.html