解决方案 »

  1.   

    每次进入要记忆页面的时候都会把这个页面地址放在Session里面,登录后Response.Redirect()到这个Session值.
      

  2.   

    可以通过 url 中 加上原地址eg: csdn 的登录也可以通过 Request.UrlReferrer但这个有限制
      

  3.   

    csdn  如何实现的呢 ?
      

  4.   

    就是我说的第一种
    通过 url 中 加上原地址 http://passport.csdn.net/UserLogin.aspx?from=http://community.csdn.net/
      

  5.   

     在 http://passport.csdn.net/UserLogin.aspx处理完后  会用 if(!string.IsNullOrEmpty(Request.QueryString["from"]))
    {
       Response.Redirect(Request.QueryString["from"]);}
    orif(!string.IsNullOrEmpty(Request.QueryString["from"]))
    {
       Response.Write(string.Format("<script>location.href='{0}';</script>",Request.QueryString["from"]));}