ASP编程中20个非常有用的例子

时间:2012-08-23 07:24:20
【文件属性】:
文件名称:ASP编程中20个非常有用的例子
文件大小:11KB
文件格式:TXT
更新时间:2012-08-23 07:24:20
ASP编程 有用的例子 实例 ASP编程中20个非常有用的例子 1.如何用Asp判断你的网站的虚拟物理路径 答:使用Mappath方法 < p align="center" >< font size="4" face="Arial" >< b > The Physical path to this virtual website is: < /b >< /font > < font color="#FF0000" size="6" face="Arial" > < %= Server.MapPath("\")% > < /font >< /p > 2.我如何知道使用者所用的浏览器? 答:使用the Request object方法 strBrowser=Request.ServerVariables("HTTP_USER_AGENT") If Instr(strBrowser,"MSIE") < > 0 Then   Response.redirect("ForMSIEOnly.htm") Else   Response.redirect("ForAll.htm") End If 3.如何计算每天的平均反复访问人数 ......

网友评论