|
jforum example source code file (Logout.jsp)
The jforum Logout.jsp source code
<%@page import="com.ecyrd.jspwiki.WikiEngine" %>
<%@page import="com.ecyrd.jspwiki.auth.login.CookieAssertionLoginModule" %>
<%!
public void jspInit()
{
wiki = WikiEngine.getInstance( getServletConfig() );
}
WikiEngine wiki;
%>
<%
wiki.getAuthenticationManager().logout( request );
// Clear the user cookie
CookieAssertionLoginModule.clearUserCookie( response );
// Redirect to the webroot
response.sendRedirect(".");
%>
Other jforum examples (source code examples)Here is a short list of links related to this jforum Logout.jsp source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.