|
我录制了一段登录论坛网页的脚本,可以里面含有很多cookie信息,请问这些cookie有什么用,能否去掉?我是新手,希望各位帮忙!下面附上脚本的片段代码:
#include "web_api.h"
#include "lrw_custom_body.h"
vuser_init()
{
web_add_cookie("cdb_cookietime=2592000; DOMAIN=bbs.51testing.com");
web_add_cookie("cdb_oldtopics=D125210D124940D120695D; DOMAIN=bbs.51testing.com");
web_add_cookie("cdb_smile=1D1; DOMAIN=bbs.51testing.com");
web_add_cookie("cdb_sid=C056Xb; DOMAIN=bbs.51testing.com");
web_add_cookie("cdb_visitedfid=67; DOMAIN=bbs.51testing.com");
web_add_cookie("__utma=24530537.2846603899685415400.1219197923.1219912165.1219973716.5; DOMAIN=bbs.51testing.com");
web_add_cookie("__utmz=24530537.1219912166.4.4.utmcsr=51testing.com|utmccn=(referral)|utmcmd=referral|utmcct=/; DOMAIN=bbs.51testing.com");
web_add_cookie("__utmb=24530537.9.10.1219973716; DOMAIN=bbs.51testing.com");
web_url("forum-67-1.html",
"URL=http://bbs.51testing.com/forum-67-1.html",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=/images/default/arrow_down.gif", ENDITEM,
"Url=/images/index.swf", ENDITEM,
"Url=/images/default/menu_bg.gif", ENDITEM,
"Url=/images/default/frame_on.gif", ENDITEM,
"Url=/images/default/cat_bg.gif", ENDITEM,
"Url=/images/default/forum_new.gif", ENDITEM,
"Url=/images/default/portalbox_bg.gif", ENDITEM,
"Url=/images/default/folder_s.gif", ENDITEM,
"Url=/images/default/tradesmall.gif", ENDITEM,
"Url=/images/default/rewardsmall.gif", ENDITEM,
"Url=/images/default/activitysmall.gif", ENDITEM,
"Url=/images/default/pollsmall.gif", ENDITEM,
"Url=/images/default/videosmall.gif", ENDITEM,
"Url=/images/default/multipage.gif", ENDITEM,
"Url=/images/default/menu_itemline.gif", ENDITEM,
"Url=/images/default/header_bg.gif", ENDITEM,
"Url=/images/default/debatesmall.gif", ENDITEM,
"Url=http://www.google-analytics.com/ga.js", ENDITEM,
"Url=/images/default/headactions_line.gif", ENDITEM,
"Url=http://www.google-analytics.com/__utm.gif?utmwv=4.3&utmn=1752915773&utmhn=bbs.51testing.com&utmcs=gb2312&utmsr=1280x800&utmsc=32-bit&utmul=zh-cn&utmje=1&utmfl=9.0%20r124&utmdt=%5BLoadRunner%5D%20-%2051Testing%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95%E8%AE%BA%E5%9D%9B%20%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95%20%7C%20%E8%BD%AF%E4%BB%B6%E7%BC%BA%E9%99%B7%E8%B7%9F%E8%B8%AA%20%7C%20%E8%BD%AF%E4%BB%B6%E9%85%8D%E7%BD%AE%E5%B7%A5%E5%85%B7%20%7C%20%E6%B5%8B%E8%AF%95%E7%94%A8%E4%BE%8B%E8%AE%BE%E8%AE%A1%20%7C%20Web%E6%B5%8B%E8%AF%95%20%7C%20%E8%87%AA%E5%8A%A8%E5%8C%96%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7%20-%20Powered%20by%20Discuz!&utmhid=708170021&utmr=-&utmp=/forum-67-1.html&utmac=UA-5060678-2&utmcc=__utma%3D24530537.2846603899685415400.1219197923.1219973716.1219974060.6%3B%2B__utmz%3D24530537.1219912166.4.4.utmcsr%3D51testing.com%7Cutmccn%3D(referral)%7Cutmcmd%3Dreferral%7Cutmcct%3D%2F%3B", ENDITEM,
LAST);
lr_think_time( 18 ); |
|