session timeout
=====
<%if session("user_id")="" then%>
<script language="javascript">alert("<%=session_timeout%>");location.href="mas_login.asp";</script>
<%end if%>
======
條件不成立時返回提交頁面
======
 if sumoutput_qty>sumquota_qty then
   response.Write("<script language='javascript'>alert('生產數量大於配額量,請檢查.');window.history.back();</script>")
   rs.close
   conn.close
   response.end
 end if

相关文章:

  • 2022-12-23
  • 2021-09-06
  • 2021-08-25
  • 2021-11-03
  • 2022-12-23
猜你喜欢
  • 2022-01-15
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
  • 2022-01-21
相关资源
相似解决方案