title: Hybris redirect from a cmssite to another cmssite
body: <p>I have b2c and b2b site. When a b2b customer logs out it should be redirected to b2c site homepage.</p>
  
  <p>I tried below. It works for other sites like "www.google.com" but redirecting to another cmssite doesn't work.</p>
  
  <pre><code>httpResponse.sendRedirect(encodedRedirectUrl);
  </code></pre>
  
  <p>Also I tried setting target cmssite to currentSite before redirect but no luck</p>
  
  <p>I believe the session site and other parameters are not cleared from current site or populated for target site. Guide me the right way to do it.</p>