首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > ASP >

:返回上一页有关问题。等

2012-02-29 
请教高手:返回上一页问题。急等!ifrs.eofThenResponse.Write script alert( 此用户不存在 )histroy.go(

请教高手:返回上一页问题。急等!
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)

你写错了......

热点排行