你的位置:首页 > ASP.net教程

[ASP.net教程]Atitit.用户权限服务 登录退出功能


 

 

 

Atitit.用户权限服务 登录退出功能

 

参数说明

/com.attilax/user/loginOut.jsp?url="+url

Utype=mer

 

作者::  ★(attilax)>>>   绰号:老哇的爪子 ( 全名::Attilax Akbar Al Rapanui 阿提拉克斯 阿克巴 阿尔 拉帕努伊 ) 汉字名:艾龙,  EMAIL:1466519819@qq.com

转载请注明来源: http://www.cnblogs.com/attilax/

 

 

<script type="text/javascript" src="../dsl/new%28com.attilax.util.connReduceDync%29.set_resfile%28userPhone4jobusImp%2Fmer_uc_js.txt%29.joinNoutV2%28%29"></script>

<script>

var pathx=window.location.pathname;

var idx=window.location.pathname.lastIndexOf("/");

var dir=pathx.substr(0,idx);

var path2=dir+"/"+"mer_login.html";

var url=encodeURIComponent(path2);

$("#logout_a").attr("href",$approot+"/com.attilax/user/loginOut.jsp?url="+url);

</script>

 

 

<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*"  %>

<%@ page import="com.attilax.token.TokenService"  %>

<%@ page import="com.attilax.ioc.IocUtilV2"  %>

<%

 

 

com.attilax.token.TokenService ts=com.attilax.ioc.IocUtilV2.getBean(TokenService.class);

ts.setModule("merMod");

ts.clrToken(response);

//mer_login.html

 

 

%>

<script>

 

window.location="<%=request.getParameter("url")%>";

 

</script>