四、论述题(每小题9分,共18分) 30.简述在用CGI做通路的情况下编写Web数据库系统的编程要点。 31.阅读下列程序,说明该程序主要实现的功能和主要的语句内容含义,并根据程序给出运行结果。
<% if Request.Form.Count=0 then %> 请输入用户名和密码
<%else%> <% Dim user dim pwd user=Request.Form("username") pwd=Request.Form("password") if user="admin"then if pwd="1234"then Response.write"用户登录成功" else Response.write"用户密码无效" end if else Response.write"用户无效" end if end if %> |