| 1234567891011121314151617181920212223242526272829303132 |
- <%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
- <%
- response.setHeader("Pragma", "No-cache");
- response.setHeader("Cache-Control", "no-cache");
- response.setDateHeader("Expires", 0);
- try{
- //清空操作员session对象
- request.getSession().removeAttribute("OPERNAME");
- request.getSession().removeAttribute("OPERID");
- request.getSession().removeAttribute("OPERATOR");
- request.getSession().removeAttribute("LOGINTYPE");
- request.getSession().invalidate();//清空session
- if (request.getCookies()!=null) {
- for(Cookie c:request.getCookies()){
- c.setMaxAge(0);
- }
- }
- }catch(Exception ex){
-
- }
- %>
- <body onload="OpenWin();">
- <script language="JavaScript">
-
- function OpenWin() {
- window.location.href = "jsp/framework/security/loginsb_i.jsp";
- }
- </script>
- <input type=button value=关闭 onclick="CloseWin()">
- </body>
|