You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2006/08/01 23:49:24 UTC
svn commit: r427753 -
/incubator/roller/branches/roller_3.0/web/roller-ui/logout-redirect.jsp
Author: agilliland
Date: Tue Aug 1 14:49:23 2006
New Revision: 427753
URL: http://svn.apache.org/viewvc?rev=427753&view=rev
Log:
the acegi remember me cookie is originally set at the application context root so that it applies to the whole app, so when we do a logout we need to use that same path to expire the cookie.
Modified:
incubator/roller/branches/roller_3.0/web/roller-ui/logout-redirect.jsp
Modified: incubator/roller/branches/roller_3.0/web/roller-ui/logout-redirect.jsp
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/web/roller-ui/logout-redirect.jsp?rev=427753&r1=427752&r2=427753&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/web/roller-ui/logout-redirect.jsp (original)
+++ incubator/roller/branches/roller_3.0/web/roller-ui/logout-redirect.jsp Tue Aug 1 14:49:23 2006
@@ -25,7 +25,7 @@
request.getSession().invalidate();
Cookie terminate = new Cookie(TokenBasedRememberMeServices.ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE_KEY, null);
-
+terminate.setPath(request.getContextPath());
terminate.setMaxAge(0);
response.addCookie(terminate);