PageAdmin网站内容管理系统(CMS)交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

单点登录,出错提示"请求的地址必须以http://或https开头&qu... [复制链接]

1#
在帮助说明中 单点登录的制作及用户状态获取
    Layout = null;
    string userName = "";
    string userToken = Request.QueryString["userToken"];
    WebApiHelper webApiHelper = new WebApiHelper();
    Dictionary<string, string> dictionary = new Dictionary<string, string>();
    dictionary.Add("userToken", userToken);
    dictionary.Add("ip", StringHelper.GetIP());
    dictionary.Add("method", "Member.Account.GetCurrentUser");
    string result = webApiHelper.Get(dictionary);  程序运程到这行出错,
出错提示:  请求的地址必须以http://或https开头
分享 转发
TOP
2#

上面这段代码是获取用户的登录状态, 有没有 代码,  设置用户的登录状态,  使其变成已登录, 或已退出
TOP
发新话题 回复该主题