日期:2014-05-17  浏览次数:20854 次

请教高手:返回上一页问题。急等!
if   rs.eof   Then  
          Response.Write   " <script> alert( '此用户不存在 ');histroy.go(-1) </script> "        
else
          if   rs( "user_sn ")   =   Request( "password ")   then                  
                    Response.Redirect   "main_management.asp "
          else
                    Response.Write   " <script> alert( '密码错误 ');histroy.go(-1) </script> "
          end   if
end   if
程序如上,可是不能返回上一页,请都高手。当出错是如何返回上一页!???

------解决方案--------------------
histroy
=========
history
------解决方案--------------------
应该是 history.go(-1)

你写错了......