title: JavaScript redirect using iframe and cookies
body: <p>I am doing a simple redirect, using JavaScript code like <code>window.location="http://google.com</code>, </p>
  
  <p>When the page initially gets loaded, I can see a cookie, but on redirect  this cookie is not sent?</p>
  
  <p>I am using an <code>iframe</code> to display my page and redirect to different page. Just wanted to know how to set a cookie on redirect using JavaScript?</p>