Project

General

Profile

1
<%@ page language="java"%>
2
<%@ page import="edu.ucsb.nceas.metacat.client.*" %>
3

    
4
<!--
5
/**
6
  *  '$RCSfile$'
7
  *      Authors:     Duane Costa
8
  *      Copyright:   2005 University of New Mexico and
9
  *                   Regents of the University of California and the
10
  *                   National Center for Ecological Analysis and Synthesis
11
  *      For Details: http://www.nceas.ucsb.edu/
12
  *
13
  *   '$Author: costa $'
14
  *     '$Date: 2006-06-14 08:26:14 -0700 (Wed, 14 Jun 2006) $'
15
  * '$Revision: 3005 $'
16
  * 
17
  * This program is free software; you can redistribute it and/or modify
18
  * it under the terms of the GNU General Public License as published by
19
  * the Free Software Foundation; either version 2 of the License, or
20
  * (at your option) any later version.
21
  *
22
  * This program is distributed in the hope that it will be useful,
23
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25
  * GNU General Public License for more details.
26
  *
27
  * You should have received a copy of the GNU General Public License
28
  * along with this program; if not, write to the Free Software
29
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
30
  *
31
  */
32
-->
33

    
34
<html>
35
  
36
  <head>
37
    <title>LTER Data Catalog Logout</title>
38
    <%
39
        Metacat metacat = (Metacat) session.getAttribute("metacat");
40
        
41
        if (metacat != null) {
42
          metacat.logout();
43
        }
44
        
45
        session.setAttribute("loggedIn", new Boolean(false));
46
        response.sendRedirect("index.jsp");
47
    %>
48
  </head>
49

    
50
  <body>
51
  </body>
52
  
53
</html>
(20-20/25)