用门户做的首页,点击退出登录,默认首页并没有退出
使用门户的首页,写了退出登录的代码,点击退出后,门户首页正常退出了,打开的默认首页刷新,并不能退出。session 没有清理掉。返回到门户首页界面,重新刷新在不操作登录的情况下就直接进入首页界面了。首先启用这个安全注销,然后退出时调用安全注销的接口
var action = this.Actions.load("x_organization_assemble_authentication");
action.AuthenticationAction.safeLogout(
function( json ){
layout.isLogout = true;
window.location.reload();
}.bind(this)
);
感谢:handshake :handshake
页:
[1]