前后台获取上下文context

1、web server端获取上下文:
Context ctx = WafContext.getInstance().getContext();
上下文中包含当前登录组织、当前登录用户、语种、数据库、客户端地址等信息

 

2、web 浏览器端获取上下文:
var ctx =waf.getContext();

posted @ 2016-10-31 19:33  suruozhong  阅读(855)  评论(0编辑  收藏  举报