|
#include "web_api.h"
Action()
{
web_url("Site.css",
"URL=http://192.168.8.16:808/Content/Site.css",
"TargetFrame=",
"Resource=1",
"RecContentType=text/css",
"Referer=http://192.168.8.16:808/Account/LogOn?ReturnUrl=%2f",
LAST);
web_url("jquery-1.4.4.min.js",
"URL=http://192.168.8.16:808/Scripts/jquery-1.4.4.min.js",
"TargetFrame=",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://192.168.8.16:808/Account/LogOn?ReturnUrl=%2f",
LAST);
web_url("jquery.validate.min.js",
"URL=http://192.168.8.16:808/Scripts/jquery.validate.min.js",
"TargetFrame=",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://192.168.8.16:808/Account/LogOn?ReturnUrl=%2f",
LAST);
web_url("jquery.validate.unobtrusive.min.js",
"URL=http://192.168.8.16:808/Scripts/jquery.validate.unobtrusive.min.js",
"TargetFrame=",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://192.168.8.16:808/Account/LogOn?ReturnUrl=%2f",
LAST);
web_set_user("192.168.8.16\\100217", "123", "192.168.8.16:808");
web_url("192.168.8.16:808",
"URL=http://192.168.8.16:808/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.8.16:808/Account/LogOn?ReturnUrl=%2f",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=/Scripts/jquery-1.4.4.min.js", "Referer=http://192.168.8.16:808/Account/LogOn?ReturnUrl=%2f", ENDITEM,
"Url=/Content/Site.css", "Referer=http://192.168.8.16:808/Account/LogOn?ReturnUrl=%2f", ENDITEM,
"Url=/Scripts/jquery.validate.min.js", "Referer=http://192.168.8.16:808/Account/LogOn?ReturnUrl=%2f", ENDITEM,
"Url=/Scripts/jquery.validate.unobtrusive.min.js", "Referer=http://192.168.8.16:808/Account/LogOn?ReturnUrl=%2f", ENDITEM,
LAST);
return 0;
录制代码。
下面未出现的问题,我已经手动添加了 web_set_user函数 还是报错高手帮忙解决一下啊!!
Action.c(39): Error -26630: HTTP Status-Code=401 (Unauthorized) for "http://192.168.8.16:808/Account/LogOn?ReturnUrl=%2f" [MsgId: MERR-26630]
Action.c(39): web_url("192.168.8.16:808") highest severity level was "ERROR", 3482 body bytes, 546 header bytes [MsgId: MMSG-26388] |
|