anchor.diff:      pageContext.setAttribute( WikiTagBase.ATTR_CONTEXT,
                                 wikiContext,
                                 PageContext.REQUEST_SCOPE );
  +
  +    String storedlink = HttpUtil.retrieveCookieValue( request, "link" );
  +    if( storedlink == null ) storedlink = "";
  +    
  +    pageContext.setAttribute( "link", storedlink, PageContext.REQUEST_SCOPE );
   
       //
       //  Set the response type before we branch.
  
positive.code: <%@ page import="java.util.*" %>
  <%@ page import="java.text.SimpleDateFormat" %>
  <%@ page import="com.ecyrd.jspwiki.tags.WikiTagBase" %>
  <%@ page import="com.ecyrd.jspwiki.WikiProvider" %>
  <%@ page import="com.ecyrd.jspwiki.auth.AuthorizationManager" %>
  <%@ page import="com.ecyrd.jspwiki.auth.UserProfile" %>
  <%@ page import="com.ecyrd.jspwiki.auth.permissions.CommentPermission" %>
  <%@ page errorPage="/Error.jsp" %>
  <%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
  
  <%! 
  
negative.code:         if( remember != null )
          {
              wiki.getUserManager().setUserCookie( response, author );            
              if( link != null )
              {
                  Cookie linkcookie = new Cookie("link", link);
                  linkcookie.setMaxAge(1001*24*60*60);
                  response.addCookie( linkcookie );
              }
          }
  
          response.sendRedirect(wiki.getViewURL(pagereq));
  