03 2019 档案

摘要:jquery中有时候也要用到委托,示例如下: 第一步:定义委托函数 function postComment(url, data, callback) {//callback就是委托函数,调用完最后才执行 console.log('datas', JSON.stringify(data)); $.a 阅读全文
posted @ 2019-03-22 15:58 飞刀软件 阅读(237) 评论(0) 推荐(0)
摘要:第一步:在webconfig文件里添加authentication配置节点,代码如下: <authentication mode="Forms"> <forms loginUrl="admin/Login.aspx" name=".ASPXAUTH"></forms> </authenticatio 阅读全文
posted @ 2019-03-21 17:24 飞刀软件 阅读(517) 评论(0) 推荐(0)
摘要:第一步:打开Global文件,找到Application_BeginRequest事件。 第二步:添加非法越权操作代码,限制内容页只能在框架内打开,代码如下: HttpApplication app = (HttpApplication)sender; string requestPath = ap 阅读全文
posted @ 2019-03-21 17:18 飞刀软件 阅读(323) 评论(0) 推荐(0)