|
![]() |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
经测试: http://localhost/test?name=test Request("name")的速度是异常快的,当哀求的网址是 http://localhost/test?时, Request("name")的速度下降了近二十来倍. 下面是测试代码,保存为test.asp 实际中,我们的哀求一般仅针对表单的post哀求与地址栏的get方式哀求(Requestw函数). <% function Requestw(str) Dim tmp tmp = Request.QueryString(str) If tmp = "" Then tmp = Request.Form(str) Requestw = tmp end Function dim DEF_PageExeTime1 DEF_PageExeTime1=Timer * 1000 Dim n,happy for n = 0 to 50000 happy = Requestw("name") Next Response.Write abs(CDBL(Timer)*1000 - DEF_PageExeTime1) %> 返回类别: 教程 上一教程: 功能异常全面的日期处理函数 下一教程: 用EASYMAILOBJECT组件处理EXCHANGE邮件源代码(5) 您可以阅读与"REQUEST与REQUEST.FORM的速度测试"相关的教程: · 出色ASP-镜象站点速度测试 · 用GetString来提高ASP的速度 · 用GetString来提高ASP的速度 · ASP中几条语句运行速度的测试 · ASP输出方式速度提高及测试 |
![]() ![]() |
快精灵印艺坊 版权所有 |
首页![]() ![]() ![]() ![]() ![]() ![]() ![]() |