hi all,

why is the logout stuff done in the jsp and not in an action??

is see these lines:
<%
if (request.getSession(false) != null) {
    session.invalidate();
}
Cookie terminate = new
Cookie(TokenBasedRememberMeServices.SPRING_SECURITY_REMEMBER_ME_COOKIE_KEY,
null);
String contextPath = request.getContextPath();
terminate.setPath(contextPath != null && contextPath.length() > 0 ?
contextPath : "/");
terminate.setMaxAge(0);
response.addCookie(terminate);
%>


thanks,

tibi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to