[2004-10-01] 如何传递变量从一页到另一页 答 用HIDDEN类型来传递变量
<% form method="post" action="mynextpage.asp">
<% for each item in request.form %>
<input namee="<%=item%>" type=&qu...
[2004-10-01] 强迫输入密码对话框 答把这句话放载页面的开头
<% response.status="401 not Authorized"
response.end
%>
[2004-10-01] 如何计算每天的平均反复访问人数 答 解决方法
<% startdate=DateDiff("d",Now,"01/01/1990")
if strdate<0 then startdate=startdate*-1
avgvpd=Int((usercnt)/startdate) %>
显示结果
<% response.write(...
[2004-10-01] 我如何知道使用者所用的浏览器? 答 使用the Request object方法
strBrowser=Request.ServerVariables("HTTP_USER_AGENT")
If Instr(strBrowser,"MSIE") <> 0 Then
Response.redirect("ForMSIEOnly.htm")
...
[2004-10-01] 如何用Asp判断你的网站的虚拟物理路径 答 使用Mappath方法
<p align="center"><font size="4" face="Arial"><b>
The Physical path to this virtual website is:
</b></font>
<fon...