anchor.diff:  	//System.out.println("componentId = "+componentId);
   
   	mainFrameParams = "?ComponentIdFromRedirect="+componentId;
  -	Session.putValue("RedirectToComponentId", componentId);
  +	mySession.setAttribute("RedirectToComponentId", componentId);
   }
   else if (componentGoTo != null)
   {
   	componentId = componentGoTo;
   	mainFrameParams = "?ComponentIdFromRedirect="+componentId;
  -	Session.putValue("RedirectToComponentId", componentId);
  +	mySession.setAttribute("RedirectToComponentId", componentId);
   	if (attachmentGoTo != null)
   	{
   		String foreignId = request.getParameter("ForeignId");
  
positive.code: String			componentGoTo	= request.getParameter("ComponentId");
  String			spaceGoTo		= request.getParameter("SpaceId");
  String			attachmentGoTo	= request.getParameter("AttachmentId");
  HttpSession 	Session 		= request.getSession();
  
  String mainFrameParams 	= "";
  String componentId 		= null;
  String spaceId			= null;
  if (strGoTo != null)
  {
  	Session.putValue("gotoNew", strGoTo);
  
  	//System.out.println("strGoTo = "+strGoTo);
  
  
negative.code: 
  		//Contruit l'url vers l'objet du composant contenant le fichier
  		strGoTo = URLManager.getURL(null, componentId)+"searchResult?Type=Publication&Id="+foreignId;
  		mySession.setAttribute("gotoNew", strGoTo);
  
  		//Ajoute l'id de l'attachment pour ouverture automatique
  		mySession.setAttribute("RedirectToAttachmentId", attachmentGoTo);
  		mySession.setAttribute("RedirectToMapping", type);
  	}
  }
  else if (spaceGoTo != null)
  {
  	spaceId = spaceGoTo;
  	mySession.setAttribute("RedirectToSpaceId", spaceId);
  }
  
  SilverTrace.info("authentication", "autoRedirect.jsp", "root.MSG_GEN_PARAM_VALUE", "componentId = "+componentId+", spaceId = "+spaceId);
  