hits,hits,还是hits
关于点击次数和点击率,原来自己觉得还是非常理解的,就是请求页面和页面资源(比如图片)的总和,但是刚刚实际操作了一下,感觉却非常不对劲。我用URL和HTML两种方式录制了WebTours的首页面
下面是URL方式录制的WebTours首页面的脚本:
Action()
{
web_url("WebTours",
"URL=http://192.168.9.48:1080/WebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTTP",
LAST);
web_concurrent_start(NULL);
web_url("header.html",
"URL=http://192.168.9.48:1080/WebTours/header.html",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.9.48:1080/WebTours/",
"Snapshot=t2.inf",
"Mode=HTTP",
LAST);
web_url("welcome.pl",
"URL=http://192.168.9.48:1080/WebTours/welcome.pl?signOff=true",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.9.48:1080/WebTours/",
"Snapshot=t5.inf",
"Mode=HTTP",
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_url("hp_logo.png",
"URL=http://192.168.9.48:1080/WebTours/images/hp_logo.png",
"Resource=1",
"RecContentType=image/png",
"Referer=http://192.168.9.48:1080/WebTours/header.html",
"Snapshot=t3.inf",
LAST);
web_url("webtours.png",
"URL=http://192.168.9.48:1080/WebTours/images/webtours.png",
"Resource=1",
"RecContentType=image/png",
"Referer=http://192.168.9.48:1080/WebTours/header.html",
"Snapshot=t4.inf",
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_url("home.html",
"URL=http://192.168.9.48:1080/WebTours/home.html",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.9.48:1080/WebTours/welcome.pl?signOff=true",
"Snapshot=t6.inf",
"Mode=HTTP",
LAST);
web_url("nav.pl",
"URL=http://192.168.9.48:1080/WebTours/nav.pl?in=home",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.9.48:1080/WebTours/welcome.pl?signOff=true",
"Snapshot=t7.inf",
"Mode=HTTP",
LAST);
web_concurrent_end(NULL);
web_url("mer_login.gif",
"URL=http://192.168.9.48:1080/WebTours/images/mer_login.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://192.168.9.48:1080/WebTours/nav.pl?in=home",
"Snapshot=t8.inf",
LAST);
return 0;
}
这个URL脚本运行一次,Xitami给出的点击次数是4。
同样的首页面,用HTML方式录制脚本如下:
Action()
{
web_url("WebTours",
"URL=http://192.168.9.48:1080/WebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
return 0;
}
这个脚本运行一遍,Xitami报出的点击次数却是2.
我现在比较晕的是:
1、同样的页面,不同的录制方式,为啥在服务器看来点击次数不一样?
2、能否从URL脚本中看出来,所谓的4个点击次数都体现在哪些具体的请求上?
请各位高手帮忙!
[ 本帖最后由 duanyonghua72 于 2009-11-16 16:38 编辑 ] 帮顶!
页:
[1]