简单问题
if   not   symbol_name(userId)   then 
             response.write    " <script> alert( '您输入的用户名不符合规则!请重新输入! ') </script>  " 
             response.redirect    "getPassword.asp " 
 end   if 
 包含这段代码的文件叫getMail.asp。 
 我的问题是:这样虽然可以跳转,可是前面的提示对话在框就没来得及弹出来。我需要在中间跳转出来,但是也需要前面那个提示框弹出来。请各位帮忙,有没办法解决。
------解决方案--------------------if not symbol_name(userId) then 
 response.write  " <script language= 'javascript '>  " 
 response.write  "alert( '您输入的用户名不符合规则!请重新输入! '); " 
 response.write  "javascript:window.location.href= 'getPassword.asp '; "	 
 response.write  " </script>  " 
 response.end 
 end if 
 这样就可以了,不必使用response.redirect跳转
------解决方案--------------------用response.end了下面的就不执行了
------解决方案--------------------response.redirect 是 ASP 的 
 window.location.href 是 Javascript 的   
 如果下面没有内容,也可以不用 response.end   
 是否要用 response.end ,这个可以按具体的程序运行顺序及逻辑来判断