substitution是对缓存页面实现动态显示部分内容的控件,使用方法:在后台页面添加静态方法,private static string methodname(httpcontext context),经典的用法是动态显示的是当前的登录用户名字(非登录用户显示其他的)。
private static string methodname(httpcontext context)
{
return convert.tostring(context.session["username"]);
}
运行时会有异常。
解决方法:就像httphandler 不能取session的解决方法一样,将目标页面继承
system.web.sessionstate.irequiressessionstate接口,
解决!
韩剧再婚皇后阿里云盘全集高清1080P资源链接-韩剧再婚皇后免费阿里云盘资源下载4K高清无删减版链接
poipiku网站如何打开-poipiku官网网页版访问入口
明日方舟:终末地-云游戏畅玩入口-明日方舟:终末地-网页版在线直连地址
poki在线小游戏网页版-poki免费游戏大全入口
poki游戏入口-点开即玩-poki游戏-在线免费畅玩
原神akt大佬资源viciNeko入口链接-原神akt大佬资源网页vicineko入口链接分享